#7D66DD#7D66DD

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

Color values

HEX#7D66DD
RGBrgb(125, 102, 221)
HSLhsl(252, 64%, 63%)
HSVhsv(252, 54%, 87%)
CMYKcmyk(43.4%, 53.8%, 0%, 13.3%)
CIE-LABlab(50.78, 37.78, -58.04)
CIE-LCHlch(50.78, 69.25, 303.06°)
OKLaboklab(59.13% 0.0562 -0.1651)
OKLCHoklch(59.13% 0.174 288.8)
XYZxyz(26.2563, 19.0822, 70.6924)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D66DD #C6DD66
analogous
#668ADD #7D66DD #B866DD
triadic
#7D66DD #DD7D66 #66DD7D
tetradic
#7D66DD #DD668A #C6DD66 #66DDB8
square
#7D66DD #DD668A #C6DD66 #66DDB8
split-complementary
#7D66DD #DDB866 #8ADD66
monochromatic
#3D24A4 #5234D2 #7D66DD #A898E8 #D2CAF3

Accessibility & contrast

On white

4.36
#7D66DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#7D66DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D66DD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D66DD#FFFFFF#000000##000000
##7D66DD1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7BE1
Deuteranopia (green-blind)
#2C76DA
Tritanopia (blue-blind)
#608098
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #7d66dd;
/* rgb */ color: rgb(125, 102, 221);
/* oklch */ color: oklch(59.1% 0.174 288.8);
Tailwind
colors: {
  custom: {
    50: '#a892e8',
    500: '#7d66dd',
    950: '#000000',
  },
}
SCSS
$custom: #7d66dd;
$custom-light: #a892e8;
$custom-dark: #000000;
JSON
{
  "hex": "#7d66dd",
  "rgb": {
    "r": 125,
    "g": 102,
    "b": 221
  },
  "hsl": {
    "h": 251.597,
    "s": 63.636,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59125,
    "c": 0.17446,
    "h": 288.8
  },
  "luminance": 0.19083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7D66DD

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

Preview Lab → · Contrast checker → · Palette generator →

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