#7E66EE#7E66EE

#7E66EE is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.4% C 0.196 H 287.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#7E66EE
RGBrgb(126, 102, 238)
HSLhsl(251, 80%, 67%)
HSVhsv(251, 57%, 93%)
CMYKcmyk(47.1%, 57.1%, 0%, 6.7%)
CIE-LABlab(51.96, 42.83, -65.70)
CIE-LCHlch(51.96, 78.43, 303.10°)
OKLaboklab(60.37% 0.0577 -0.1876)
OKLCHoklch(60.37% 0.196 287.1)
XYZxyz(28.7837, 20.1102, 83.2374)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66EE #D6EE66
analogous
#6692EE #7E66EE #C266EE
triadic
#7E66EE #EE7E66 #66EE7E
tetradic
#7E66EE #EE6692 #D6EE66 #66EEC2
square
#7E66EE #EE6692 #D6EE66 #66EEC2
split-complementary
#7E66EE #EEC266 #92EE66
monochromatic
#3416C4 #502FE8 #7E66EE #AC9DF4 #DBD4FA

Accessibility & contrast

On white

4.18
#7E66EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#7E66EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66EE
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66EE#FFFFFF#000000##000000
##7E66EE1.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#0078EB
Tritanopia (blue-blind)
#5985A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #7e66ee;
/* rgb */ color: rgb(126, 102, 238);
/* oklch */ color: oklch(60.4% 0.196 287.1);
Tailwind
colors: {
  custom: {
    50: '#ab92f4',
    500: '#7e66ee',
    950: '#000000',
  },
}
SCSS
$custom: #7e66ee;
$custom-light: #ab92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66ee",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 238
  },
  "hsl": {
    "h": 250.588,
    "s": 80,
    "l": 66.667
  },
  "oklch": {
    "l": 0.60366,
    "c": 0.19631,
    "h": 287.1
  },
  "luminance": 0.20111
}

Semantic roles & 50–950 ramp

primary
#7E66EE
secondary
#E6EEC2
accent
#DC09B7
background
#FBF9FF
surface
#F6F1FE
border
#D0CBD6
text
#110D17
muted
#807E85

Preview Lab

Preview with #7E66EE

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

Preview Lab → · Contrast checker → · Palette generator →

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