#664BBD#664BBD

#664BBD is a mid, vivid violet. Relative luminance 0.115; OKLCH L 50.3% C 0.171 H 289.7°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#664BBD
RGBrgb(102, 75, 189)
HSLhsl(254, 46%, 52%)
HSVhsv(254, 60%, 74%)
CMYKcmyk(46%, 60.3%, 0%, 25.9%)
CIE-LABlab(40.46, 39.33, -56.39)
CIE-LCHlch(40.46, 68.75, 304.90°)
OKLaboklab(50.33% 0.0578 -0.1611)
OKLCHoklch(50.33% 0.171 289.7)
XYZxyz(17.1783, 11.5304, 49.4547)
Luminance0.1153 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664BBD #A2BD4B
analogous
#4B69BD #664BBD #9F4BBD
triadic
#664BBD #BD664B #4BBD66
tetradic
#664BBD #BD4B69 #A2BD4B #4BBD9F
square
#664BBD #BD4B69 #A2BD4B #4BBD9F
split-complementary
#664BBD #BD9F4B #69BD4B
monochromatic
#362668 #4D3694 #664BBD #8C78CD #B2A5DE

Accessibility & contrast

On white

6.35
#664BBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#664BBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664BBD
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664BBD#FFFFFF#000000##FFFFFF
##664BBD1.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#005DBB
Tritanopia (blue-blind)
#4B657D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #664bbd;
/* rgb */ color: rgb(102, 75, 189);
/* oklch */ color: oklch(50.3% 0.171 289.7);
Tailwind
colors: {
  custom: {
    50: '#987ed2',
    500: '#664bbd',
    950: '#000000',
  },
}
SCSS
$custom: #664bbd;
$custom-light: #987ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#664bbd",
  "rgb": {
    "r": 102,
    "g": 75,
    "b": 189
  },
  "hsl": {
    "h": 254.211,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5033,
    "c": 0.17113,
    "h": 289.7
  },
  "luminance": 0.11531
}

Semantic roles & 50–950 ramp

primary
#664BBD
secondary
#BFCB99
accent
#D652B7
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #664BBD

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

Preview Lab → · Contrast checker → · Palette generator →

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