#7D66E7#7D66E7

#7D66E7 is a mid, vivid violet. Relative luminance 0.196; OKLCH L 59.8% C 0.187 H 287.5°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#7D66E7
RGBrgb(125, 102, 231)
HSLhsl(251, 73%, 65%)
HSVhsv(251, 56%, 91%)
CMYKcmyk(45.9%, 55.8%, 0%, 9.4%)
CIE-LABlab(51.42, 40.62, -62.66)
CIE-LCHlch(51.42, 74.67, 302.96°)
OKLaboklab(59.8% 0.0565 -0.1787)
OKLCHoklch(59.8% 0.187 287.5)
XYZxyz(27.6285, 19.6311, 77.9192)
Luminance0.1963 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D66E7 #D0E766
analogous
#668FE7 #7D66E7 #BE66E7
triadic
#7D66E7 #E77D66 #66E77D
tetradic
#7D66E7 #E7668F #D0E766 #66E7BE
square
#7D66E7 #E7668F #D0E766 #66E7BE
split-complementary
#7D66E7 #E7BE66 #8FE766
monochromatic
#381DB6 #5031DF #7D66E7 #AA9BEF #D7D0F8

Accessibility & contrast

On white

4.26
#7D66E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#7D66E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D66E7
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D66E7#FFFFFF#000000##000000
##7D66E71.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#157EEB
Deuteranopia (green-blind)
#1577E4
Tritanopia (blue-blind)
#5B839D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #7d66e7;
/* rgb */ color: rgb(125, 102, 231);
/* oklch */ color: oklch(59.8% 0.187 287.5);
Tailwind
colors: {
  custom: {
    50: '#a992ef',
    500: '#7d66e7',
    950: '#000000',
  },
}
SCSS
$custom: #7d66e7;
$custom-light: #a992ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7d66e7",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 231
  },
  "hsl": {
    "h": 250.698,
    "s": 72.881,
    "l": 65.294
  },
  "oklch": {
    "l": 0.59797,
    "c": 0.18743,
    "h": 287.5
  },
  "luminance": 0.19632
}

Semantic roles & 50–950 ramp

primary
#7D66E7
secondary
#E2EABF
accent
#D511B2
background
#FAF9FE
surface
#F5F1FD
border
#CFCBD5
text
#100D17
muted
#7F7E85

Preview Lab

Preview with #7D66E7

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

Preview Lab → · Contrast checker → · Palette generator →

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