#664BB9#664BB9

#664BB9 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.166 H 290.4°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#664BB9
RGBrgb(102, 75, 185)
HSLhsl(255, 44%, 51%)
HSVhsv(255, 59%, 73%)
CMYKcmyk(44.9%, 59.5%, 0%, 27.5%)
CIE-LABlab(40.18, 38.18, -54.50)
CIE-LCHlch(40.18, 66.54, 305.01°)
OKLaboklab(50.04% 0.0579 -0.1555)
OKLCHoklch(50.04% 0.166 290.4)
XYZxyz(16.7501, 11.3591, 47.1995)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664BB9 #9EB94B
analogous
#4B67B9 #664BB9 #9D4BB9
triadic
#664BB9 #B9664B #4BB966
tetradic
#664BB9 #B94B67 #9EB94B #4BB99D
square
#664BB9 #B94B67 #9EB94B #4BB99D
split-complementary
#664BB9 #B99D4B #67B94B
monochromatic
#352763 #4D388F #664BB9 #8B77CA #B1A3DB

Accessibility & contrast

On white

6.42
#664BB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#664BB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664BB9
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664BB9#FFFFFF#000000##FFFFFF
##664BB91.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BD
Deuteranopia (green-blind)
#005CB7
Tritanopia (blue-blind)
#4D647B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #664bb9;
/* rgb */ color: rgb(102, 75, 185);
/* oklch */ color: oklch(50.0% 0.166 290.4);
Tailwind
colors: {
  custom: {
    50: '#977ecf',
    500: '#664bb9',
    950: '#000000',
  },
}
SCSS
$custom: #664bb9;
$custom-light: #977ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#664bb9",
  "rgb": {
    "r": 102,
    "g": 75,
    "b": 185
  },
  "hsl": {
    "h": 254.727,
    "s": 44,
    "l": 50.98
  },
  "oklch": {
    "l": 0.50035,
    "c": 0.16596,
    "h": 290.4
  },
  "luminance": 0.1136
}

Semantic roles & 50–950 ramp

primary
#664BB9
secondary
#BCC898
accent
#D454B4
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #664BB9

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

Preview Lab → · Contrast checker → · Palette generator →

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