#7E66F4#7E66F4

#7E66F4 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 60.8% C 0.204 H 286.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7E66F4
RGBrgb(126, 102, 244)
HSLhsl(250, 87%, 68%)
HSVhsv(250, 58%, 96%)
CMYKcmyk(48.4%, 58.2%, 0%, 4.3%)
CIE-LABlab(52.36, 44.55, -68.40)
CIE-LCHlch(52.36, 81.63, 303.08°)
OKLaboklab(60.79% 0.0576 -0.1956)
OKLCHoklch(60.79% 0.204 286.4)
XYZxyz(29.6799, 20.4686, 87.9574)
Luminance0.2047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66F4 #DCF466
analogous
#6695F4 #7E66F4 #C566F4
triadic
#7E66F4 #F47E66 #66F47E
tetradic
#7E66F4 #F46695 #DCF466 #66F4C5
square
#7E66F4 #F46695 #DCF466 #66F4C5
split-complementary
#7E66F4 #F4C566 #95F466
monochromatic
#300FD1 #4E2DF0 #7E66F4 #AE9FF8 #DED8FC

Accessibility & contrast

On white

4.12
#7E66F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#7E66F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66F4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66F4#FFFFFF#000000##000000
##7E66F41.004.125.095.09
#FFFFFF4.121.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081F9
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#5587A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #7e66f4;
/* rgb */ color: rgb(126, 102, 244);
/* oklch */ color: oklch(60.8% 0.204 286.4);
Tailwind
colors: {
  custom: {
    50: '#ab92f9',
    500: '#7e66f4',
    950: '#000000',
  },
}
SCSS
$custom: #7e66f4;
$custom-light: #ab92f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66f4",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 244
  },
  "hsl": {
    "h": 250.141,
    "s": 86.585,
    "l": 67.843
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.20389,
    "h": 286.4
  },
  "luminance": 0.2047
}

Semantic roles & 50–950 ramp

primary
#7E66F4
secondary
#E9F1C5
accent
#E302BD
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E66F4

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

Preview Lab → · Contrast checker → · Palette generator →

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