#664FD9#664FD9

#664FD9 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.1% C 0.201 H 284.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#664FD9
RGBrgb(102, 79, 217)
HSLhsl(250, 64%, 58%)
HSVhsv(250, 64%, 85%)
CMYKcmyk(53%, 63.6%, 0%, 14.9%)
CIE-LABlab(43.40, 45.27, -67.81)
CIE-LCHlch(43.40, 81.53, 303.72°)
OKLaboklab(53.12% 0.0516 -0.1946)
OKLCHoklch(53.12% 0.201 284.9)
XYZxyz(20.7961, 13.4254, 67.1277)
Luminance0.1343 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FD9 #C2D94F
analogous
#4F7DD9 #664FD9 #AB4FD9
triadic
#664FD9 #D9664F #4FD966
tetradic
#664FD9 #D94F7D #C2D94F #4FD9AB
square
#664FD9 #D94F7D #C2D94F #4FD9AB
split-complementary
#664FD9 #D9AB4F #7DD94F
monochromatic
#311F8F #432AC1 #664FD9 #9281E4 #BEB4EF

Accessibility & contrast

On white

5.70
#664FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#664FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664FD9
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664FD9#FFFFFF#000000##FFFFFF
##664FD91.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ADD
Deuteranopia (green-blind)
#0062D6
Tritanopia (blue-blind)
#36718D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #664fd9;
/* rgb */ color: rgb(102, 79, 217);
/* oklch */ color: oklch(53.1% 0.201 284.9);
Tailwind
colors: {
  custom: {
    50: '#9b82e6',
    500: '#664fd9',
    950: '#000000',
  },
}
SCSS
$custom: #664fd9;
$custom-light: #9b82e6;
$custom-dark: #000000;
JSON
{
  "hex": "#664fd9",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 250,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.53122,
    "c": 0.20137,
    "h": 284.9
  },
  "luminance": 0.13426
}

Semantic roles & 50–950 ramp

primary
#664FD9
secondary
#D4DDA6
accent
#E740CC
background
#FAF8FE
surface
#F4EFFC
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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