#664AD8#664AD8

#664AD8 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.3% C 0.206 H 285.9°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#664AD8
RGBrgb(102, 74, 216)
HSLhsl(252, 65%, 57%)
HSVhsv(252, 66%, 85%)
CMYKcmyk(52.8%, 65.7%, 0%, 15.3%)
CIE-LABlab(42.28, 47.78, -69.07)
CIE-LCHlch(42.28, 83.98, 304.68°)
OKLaboklab(52.29% 0.0564 -0.1983)
OKLCHoklch(52.29% 0.206 285.9)
XYZxyz(20.3192, 12.6791, 66.3291)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664AD8 #BCD84A
analogous
#4A75D8 #664AD8 #AD4AD8
triadic
#664AD8 #D8664A #4AD866
tetradic
#664AD8 #D84A75 #BCD84A #4AD8AD
square
#664AD8 #D84A75 #BCD84A #4AD8AD
split-complementary
#664AD8 #D8AD4A #75D84A
monochromatic
#331E8A #4629BC #664AD8 #917CE3 #BBAFEE

Accessibility & contrast

On white

5.94
#664AD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#664AD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664AD8
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664AD8#FFFFFF#000000##FFFFFF
##664AD81.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0060D5
Tritanopia (blue-blind)
#376E8B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #664ad8;
/* rgb */ color: rgb(102, 74, 216);
/* oklch */ color: oklch(52.3% 0.206 285.9);
Tailwind
colors: {
  custom: {
    50: '#9c7ee5',
    500: '#664ad8',
    950: '#000000',
  },
}
SCSS
$custom: #664ad8;
$custom-light: #9c7ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#664ad8",
  "rgb": {
    "r": 102,
    "g": 74,
    "b": 216
  },
  "hsl": {
    "h": 251.831,
    "s": 64.545,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52286,
    "c": 0.20621,
    "h": 285.9
  },
  "luminance": 0.1268
}

Semantic roles & 50–950 ramp

primary
#664AD8
secondary
#D0DCA2
accent
#E840C7
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664AD8

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

Preview Lab → · Contrast checker → · Palette generator →

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