#7E70F7#7E70F7

#7E70F7 is a light, vivid blue. Relative luminance 0.227; OKLCH L 62.7% C 0.195 H 284.0°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7E70F7
RGBrgb(126, 112, 247)
HSLhsl(246, 89%, 70%)
HSVhsv(246, 55%, 97%)
CMYKcmyk(49%, 54.7%, 0%, 3.1%)
CIE-LABlab(54.80, 39.67, -66.13)
CIE-LCHlch(54.80, 77.11, 300.96°)
OKLaboklab(62.65% 0.0469 -0.1889)
OKLCHoklch(62.65% 0.195 284)
XYZxyz(31.1818, 22.7378, 90.7235)
Luminance0.2274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E70F7 #E9F770
analogous
#70A6F7 #7E70F7 #C170F7
triadic
#7E70F7 #F77E70 #70F77E
tetradic
#7E70F7 #F770A6 #E9F770 #70F7C1
square
#7E70F7 #F770A6 #E9F770 #70F7C1
split-complementary
#7E70F7 #F7C170 #A6F770
monochromatic
#220DE0 #4A36F4 #7E70F7 #B2AAFA #E5E2FD

Accessibility & contrast

On white

3.79
#7E70F7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#7E70F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E70F7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E70F7#FFFFFF#000000##000000
##7E70F71.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C87FC
Deuteranopia (green-blind)
#0D7FF4
Tritanopia (blue-blind)
#518EA9
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #7e70f7;
/* rgb */ color: rgb(126, 112, 247);
/* oklch */ color: oklch(62.7% 0.195 284.0);
Tailwind
colors: {
  custom: {
    50: '#ab99fb',
    500: '#7e70f7',
    950: '#000000',
  },
}
SCSS
$custom: #7e70f7;
$custom-light: #ab99fb;
$custom-dark: #000000;
JSON
{
  "hex": "#7e70f7",
  "rgb": {
    "r": 126,
    "g": 112,
    "b": 247
  },
  "hsl": {
    "h": 246.222,
    "s": 89.404,
    "l": 70.392
  },
  "oklch": {
    "l": 0.62653,
    "c": 0.19462,
    "h": 284
  },
  "luminance": 0.22739
}

Semantic roles & 50–950 ramp

primary
#7E70F7
secondary
#F0F4CF
accent
#E600CE
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #7E70F7

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#7E70F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva