#7E66E5#7E66E5

#7E66E5 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.7% C 0.185 H 288.2°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#7E66E5
RGBrgb(126, 102, 229)
HSLhsl(251, 71%, 65%)
HSVhsv(251, 55%, 90%)
CMYKcmyk(45%, 55.5%, 0%, 10.2%)
CIE-LABlab(51.38, 40.27, -61.59)
CIE-LCHlch(51.38, 73.59, 303.17°)
OKLaboklab(59.75% 0.0577 -0.1756)
OKLCHoklch(59.75% 0.185 288.2)
XYZxyz(27.4944, 19.5944, 76.4470)
Luminance0.1960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66E5 #CDE566
analogous
#668DE5 #7E66E5 #BE66E5
triadic
#7E66E5 #E57E66 #66E57E
tetradic
#7E66E5 #E5668D #CDE566 #66E5BE
square
#7E66E5 #E5668D #CDE566 #66E5BE
split-complementary
#7E66E5 #E5BE66 #8DE566
monochromatic
#3A1EB2 #5232DC #7E66E5 #AA9AEE #D6CFF7

Accessibility & contrast

On white

4.27
#7E66E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#7E66E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66E5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66E5#FFFFFF#000000##000000
##7E66E51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1B7DE9
Deuteranopia (green-blind)
#1D77E2
Tritanopia (blue-blind)
#5E829C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7e66e5;
/* rgb */ color: rgb(126, 102, 229);
/* oklch */ color: oklch(59.7% 0.185 288.2);
Tailwind
colors: {
  custom: {
    50: '#aa92ee',
    500: '#7e66e5',
    950: '#000000',
  },
}
SCSS
$custom: #7e66e5;
$custom-light: #aa92ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66e5",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 229
  },
  "hsl": {
    "h": 251.339,
    "s": 70.95,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59746,
    "c": 0.18481,
    "h": 288.2
  },
  "luminance": 0.19596
}

Semantic roles & 50–950 ramp

primary
#7E66E5
secondary
#E1E9BE
accent
#D313AF
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E66E5

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

Preview Lab → · Contrast checker → · Palette generator →

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