#664AD5#664AD5

#664AD5 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.0% C 0.203 H 286.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#664AD5
RGBrgb(102, 74, 213)
HSLhsl(252, 62%, 56%)
HSVhsv(252, 65%, 84%)
CMYKcmyk(52.1%, 65.3%, 0%, 16.5%)
CIE-LABlab(42.04, 46.90, -67.73)
CIE-LCHlch(42.04, 82.39, 304.70°)
OKLaboklab(52.04% 0.0568 -0.1944)
OKLCHoklch(52.04% 0.203 286.3)
XYZxyz(19.9349, 12.5254, 64.3051)
Luminance0.1253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664AD5 #B9D54A
analogous
#4A74D5 #664AD5 #AC4AD5
triadic
#664AD5 #D5664A #4AD566
tetradic
#664AD5 #D54A74 #B9D54A #4AD5AC
square
#664AD5 #D54A74 #B9D54A #4AD5AC
split-complementary
#664AD5 #D5AC4A #74D54A
monochromatic
#341F86 #472BB7 #664AD5 #907CE1 #BAADEC

Accessibility & contrast

On white

5.99
#664AD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#664AD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664AD5
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664AD5#FFFFFF#000000##FFFFFF
##664AD51.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D9
Deuteranopia (green-blind)
#005FD2
Tritanopia (blue-blind)
#3A6D89
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #664ad5;
/* rgb */ color: rgb(102, 74, 213);
/* oklch */ color: oklch(52.0% 0.203 286.3);
Tailwind
colors: {
  custom: {
    50: '#9b7ee3',
    500: '#664ad5',
    950: '#000000',
  },
}
SCSS
$custom: #664ad5;
$custom-light: #9b7ee3;
$custom-dark: #000000;
JSON
{
  "hex": "#664ad5",
  "rgb": {
    "r": 102,
    "g": 74,
    "b": 213
  },
  "hsl": {
    "h": 252.086,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.52042,
    "c": 0.20254,
    "h": 286.3
  },
  "luminance": 0.12526
}

Semantic roles & 50–950 ramp

primary
#664AD5
secondary
#CEDAA1
accent
#E542C5
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664AD5

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

Preview Lab → · Contrast checker → · Palette generator →

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