#664CAE#664CAE

#664CAE is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.4% C 0.150 H 292.2°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#664CAE
RGBrgb(102, 76, 174)
HSLhsl(256, 39%, 49%)
HSVhsv(256, 56%, 68%)
CMYKcmyk(41.4%, 56.3%, 0%, 31.8%)
CIE-LABlab(39.66, 34.42, -48.85)
CIE-LCHlch(39.66, 59.76, 305.17°)
OKLaboklab(49.42% 0.0568 -0.1389)
OKLCHoklch(49.42% 0.15 292.2)
XYZxyz(15.7018, 11.0492, 41.3416)
Luminance0.1105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664CAE #94AE4C
analogous
#4C63AE #664CAE #974CAE
triadic
#664CAE #AE664C #4CAE66
tetradic
#664CAE #AE4C63 #94AE4C #4CAE97
square
#664CAE #AE4C63 #94AE4C #4CAE97
split-complementary
#664CAE #AE974C #63AE4C
monochromatic
#342759 #4D3983 #664CAE #8975C3 #AE9FD5

Accessibility & contrast

On white

6.54
#664CAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#664CAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664CAE
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664CAE#FFFFFF#000000##FFFFFF
##664CAE1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195FB1
Deuteranopia (green-blind)
#205CAC
Tritanopia (blue-blind)
#536175
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #664cae;
/* rgb */ color: rgb(102, 76, 174);
/* oklch */ color: oklch(49.4% 0.150 292.2);
Tailwind
colors: {
  custom: {
    50: '#967fc7',
    500: '#664cae',
    950: '#000000',
  },
}
SCSS
$custom: #664cae;
$custom-light: #967fc7;
$custom-dark: #000000;
JSON
{
  "hex": "#664cae",
  "rgb": {
    "r": 102,
    "g": 76,
    "b": 174
  },
  "hsl": {
    "h": 255.918,
    "s": 39.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.15007,
    "h": 292.2
  },
  "luminance": 0.1105
}

Semantic roles & 50–950 ramp

primary
#664CAE
secondary
#B6C294
accent
#CF59B0
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0E0A13
muted
#7E7C82

Preview Lab

Preview with #664CAE

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

Preview Lab → · Contrast checker → · Palette generator →

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