#664DD9#664DD9

#664DD9 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.8% C 0.204 H 285.2°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#664DD9
RGBrgb(102, 77, 217)
HSLhsl(251, 65%, 58%)
HSVhsv(251, 65%, 85%)
CMYKcmyk(53%, 64.5%, 0%, 14.9%)
CIE-LABlab(42.98, 46.40, -68.50)
CIE-LCHlch(42.98, 82.73, 304.11°)
OKLaboklab(52.82% 0.0535 -0.1967)
OKLCHoklch(52.82% 0.204 285.2)
XYZxyz(20.6540, 13.1412, 67.0804)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664DD9 #C0D94D
analogous
#4D7AD9 #664DD9 #AC4DD9
triadic
#664DD9 #D9664D #4DD966
tetradic
#664DD9 #D94D7A #C0D94D #4DD9AC
square
#664DD9 #D94D7A #C0D94D #4DD9AC
split-complementary
#664DD9 #D9AC4D #7AD94D
monochromatic
#321E8D #4429C0 #664DD9 #917FE4 #BDB2EF

Accessibility & contrast

On white

5.79
#664DD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#664DD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664DD9
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664DD9#FFFFFF#000000##FFFFFF
##664DD91.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DD
Deuteranopia (green-blind)
#0061D6
Tritanopia (blue-blind)
#36708C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #664dd9;
/* rgb */ color: rgb(102, 77, 217);
/* oklch */ color: oklch(52.8% 0.204 285.2);
Tailwind
colors: {
  custom: {
    50: '#9b80e6',
    500: '#664dd9',
    950: '#000000',
  },
}
SCSS
$custom: #664dd9;
$custom-light: #9b80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#664dd9",
  "rgb": {
    "r": 102,
    "g": 77,
    "b": 217
  },
  "hsl": {
    "h": 250.714,
    "s": 64.815,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52816,
    "c": 0.20382,
    "h": 285.2
  },
  "luminance": 0.13142
}

Semantic roles & 50–950 ramp

primary
#664DD9
secondary
#D3DDA5
accent
#E840CA
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664DD9

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

Preview Lab → · Contrast checker → · Palette generator →

#664DD9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva