#7E66EA#7E66EA

#7E66EA is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.1% C 0.191 H 287.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#7E66EA
RGBrgb(126, 102, 234)
HSLhsl(251, 76%, 66%)
HSVhsv(251, 56%, 92%)
CMYKcmyk(46.2%, 56.4%, 0%, 8.2%)
CIE-LABlab(51.70, 41.69, -63.88)
CIE-LCHlch(51.70, 76.28, 303.13°)
OKLaboklab(60.09% 0.0577 -0.1823)
OKLCHoklch(60.09% 0.191 287.6)
XYZxyz(28.2026, 19.8777, 80.1767)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66EA #D2EA66
analogous
#6690EA #7E66EA #C066EA
triadic
#7E66EA #EA7E66 #66EA7E
tetradic
#7E66EA #EA6690 #D2EA66 #66EAC0
square
#7E66EA #EA6690 #D2EA66 #66EAC0
split-complementary
#7E66EA #EAC066 #90EA66
monochromatic
#371ABC #5130E3 #7E66EA #AB9CF1 #D9D2F9

Accessibility & contrast

On white

4.22
#7E66EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#7E66EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66EA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66EA#FFFFFF#000000##000000
##7E66EA1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0A7EEE
Deuteranopia (green-blind)
#0B78E7
Tritanopia (blue-blind)
#5B839E
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7e66ea;
/* rgb */ color: rgb(126, 102, 234);
/* oklch */ color: oklch(60.1% 0.191 287.6);
Tailwind
colors: {
  custom: {
    50: '#aa92f1',
    500: '#7e66ea',
    950: '#000000',
  },
}
SCSS
$custom: #7e66ea;
$custom-light: #aa92f1;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66ea",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 234
  },
  "hsl": {
    "h": 250.909,
    "s": 75.862,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60088,
    "c": 0.19123,
    "h": 287.6
  },
  "luminance": 0.19879
}

Semantic roles & 50–950 ramp

primary
#7E66EA
secondary
#E4ECC0
accent
#D80DB3
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E66EA

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

Preview Lab → · Contrast checker → · Palette generator →

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