#664CA3#664CA3

#664CA3 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 48.7% C 0.135 H 294.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#664CA3
RGBrgb(102, 76, 163)
HSLhsl(258, 36%, 47%)
HSVhsv(258, 53%, 64%)
CMYKcmyk(37.4%, 53.4%, 0%, 36.1%)
CIE-LABlab(38.96, 31.31, -43.43)
CIE-LCHlch(38.96, 53.54, 305.79°)
OKLaboklab(48.68% 0.0564 -0.123)
OKLCHoklch(48.68% 0.135 294.6)
XYZxyz(14.6731, 10.6377, 35.9234)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664CA3 #89A34C
analogous
#4C5EA3 #664CA3 #924CA3
triadic
#664CA3 #A3664C #4CA366
tetradic
#664CA3 #A34C5E #89A34C #4CA392
square
#664CA3 #A34C5E #89A34C #4CA392
split-complementary
#664CA3 #A3924C #5EA34C
monochromatic
#322550 #4C3979 #664CA3 #8770BC #AA9AD0

Accessibility & contrast

On white

6.71
#664CA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#664CA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664CA3
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664CA3#FFFFFF#000000##FFFFFF
##664CA31.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA6
Deuteranopia (green-blind)
#2E5AA1
Tritanopia (blue-blind)
#575E70
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #664ca3;
/* rgb */ color: rgb(102, 76, 163);
/* oklch */ color: oklch(48.7% 0.135 294.6);
Tailwind
colors: {
  custom: {
    50: '#957fbf',
    500: '#664ca3',
    950: '#000000',
  },
}
SCSS
$custom: #664ca3;
$custom-light: #957fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#664ca3",
  "rgb": {
    "r": 102,
    "g": 76,
    "b": 163
  },
  "hsl": {
    "h": 257.931,
    "s": 36.402,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48676,
    "c": 0.1353,
    "h": 294.6
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

primary
#664CA3
secondary
#AFBC8F
accent
#CC5BAB
background
#F9F7FB
surface
#F2EEF7
border
#CCC9D0
text
#0E0A12
muted
#7E7C81

Preview Lab

Preview with #664CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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