#7E66DD#7E66DD

#7E66DD is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.2% C 0.174 H 289.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7E66DD
RGBrgb(126, 102, 221)
HSLhsl(252, 64%, 63%)
HSVhsv(252, 54%, 87%)
CMYKcmyk(43%, 53.8%, 0%, 13.3%)
CIE-LABlab(50.87, 38.00, -57.89)
CIE-LCHlch(50.87, 69.25, 303.28°)
OKLaboklab(59.21% 0.0575 -0.1647)
OKLCHoklch(59.21% 0.174 289.2)
XYZxyz(26.4030, 19.1579, 70.6993)
Luminance0.1916 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66DD #C5DD66
analogous
#6689DD #7E66DD #B966DD
triadic
#7E66DD #DD7E66 #66DD7E
tetradic
#7E66DD #DD6689 #C5DD66 #66DDB9
square
#7E66DD #DD6689 #C5DD66 #66DDB9
split-complementary
#7E66DD #DDB966 #89DD66
monochromatic
#3E24A4 #5434D2 #7E66DD #A898E8 #D2CAF3

Accessibility & contrast

On white

4.35
#7E66DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#7E66DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66DD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66DD#FFFFFF#000000##000000
##7E66DD1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7CE1
Deuteranopia (green-blind)
#2D76DA
Tritanopia (blue-blind)
#627F98
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e66dd;
/* rgb */ color: rgb(126, 102, 221);
/* oklch */ color: oklch(59.2% 0.174 289.2);
Tailwind
colors: {
  custom: {
    50: '#a992e8',
    500: '#7e66dd',
    950: '#000000',
  },
}
SCSS
$custom: #7e66dd;
$custom-light: #a992e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66dd",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 252.101,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59211,
    "c": 0.17444,
    "h": 289.2
  },
  "luminance": 0.19159
}

Semantic roles & 50–950 ramp

primary
#7E66DD
secondary
#DCE5BA
accent
#CB1AA8
background
#FAF9FE
surface
#F4F1FD
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E66DD

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

Preview Lab → · Contrast checker → · Palette generator →

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