#7D66E8#7D66E8

#7D66E8 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 59.9% C 0.189 H 287.4°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7D66E8
RGBrgb(125, 102, 232)
HSLhsl(251, 74%, 65%)
HSVhsv(251, 56%, 91%)
CMYKcmyk(46.1%, 56%, 0%, 9%)
CIE-LABlab(51.48, 40.91, -63.11)
CIE-LCHlch(51.48, 75.21, 302.95°)
OKLaboklab(59.87% 0.0565 -0.1801)
OKLCHoklch(59.87% 0.189 287.4)
XYZxyz(27.7701, 19.6878, 78.6652)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D66E8 #D1E866
analogous
#6690E8 #7D66E8 #BE66E8
triadic
#7D66E8 #E87D66 #66E87D
tetradic
#7D66E8 #E86690 #D1E866 #66E8BE
square
#7D66E8 #E86690 #D1E866 #66E8BE
split-complementary
#7D66E8 #E8BE66 #90E866
monochromatic
#371CB8 #5031E0 #7D66E8 #AA9BF0 #D7D0F8

Accessibility & contrast

On white

4.25
#7D66E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#7D66E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D66E8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D66E8#FFFFFF#000000##000000
##7D66E81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#117EEC
Deuteranopia (green-blind)
#1177E5
Tritanopia (blue-blind)
#5A839D
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #7d66e8;
/* rgb */ color: rgb(125, 102, 232);
/* oklch */ color: oklch(59.9% 0.189 287.4);
Tailwind
colors: {
  custom: {
    50: '#a992f0',
    500: '#7d66e8',
    950: '#000000',
  },
}
SCSS
$custom: #7d66e8;
$custom-light: #a992f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7d66e8",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 232
  },
  "hsl": {
    "h": 250.615,
    "s": 73.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.59866,
    "c": 0.18871,
    "h": 287.4
  },
  "luminance": 0.19689
}

Semantic roles & 50–950 ramp

primary
#7D66E8
secondary
#E3EBBF
accent
#D610B3
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7D66E8

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

Preview Lab → · Contrast checker → · Palette generator →

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