#7E66DB#7E66DB

#7E66DB is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.1% C 0.172 H 289.5°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#7E66DB
RGBrgb(126, 102, 219)
HSLhsl(252, 62%, 63%)
HSVhsv(252, 53%, 86%)
CMYKcmyk(42.5%, 53.4%, 0%, 14.1%)
CIE-LABlab(50.75, 37.44, -56.96)
CIE-LCHlch(50.75, 68.16, 303.32°)
OKLaboklab(59.08% 0.0574 -0.1619)
OKLCHoklch(59.08% 0.172 289.5)
XYZxyz(26.1382, 19.0520, 69.3043)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E66DB #C3DB66
analogous
#6688DB #7E66DB #B966DB
triadic
#7E66DB #DB7E66 #66DB7E
tetradic
#7E66DB #DB6688 #C3DB66 #66DBB9
square
#7E66DB #DB6688 #C3DB66 #66DBB9
split-complementary
#7E66DB #DBB966 #88DB66
monochromatic
#3F26A1 #5434CF #7E66DB #A898E7 #D2C9F2

Accessibility & contrast

On white

4.37
#7E66DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#7E66DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E66DB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E66DB#FFFFFF#000000##000000
##7E66DB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D7BDF
Deuteranopia (green-blind)
#3076D8
Tritanopia (blue-blind)
#637F97
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7e66db;
/* rgb */ color: rgb(126, 102, 219);
/* oklch */ color: oklch(59.1% 0.172 289.5);
Tailwind
colors: {
  custom: {
    50: '#a992e7',
    500: '#7e66db',
    950: '#000000',
  },
}
SCSS
$custom: #7e66db;
$custom-light: #a992e7;
$custom-dark: #000000;
JSON
{
  "hex": "#7e66db",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 219
  },
  "hsl": {
    "h": 252.308,
    "s": 61.905,
    "l": 62.941
  },
  "oklch": {
    "l": 0.5908,
    "c": 0.17182,
    "h": 289.5
  },
  "luminance": 0.19053
}

Semantic roles & 50–950 ramp

primary
#7E66DB
secondary
#DBE3B9
accent
#CA1CA6
background
#FAF9FE
surface
#F4F1FC
border
#CECBD5
text
#100D16
muted
#7F7E84

Preview Lab

Preview with #7E66DB

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

Preview Lab → · Contrast checker → · Palette generator →

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