#664ABE#664ABE

#664ABE is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.2% C 0.174 H 289.8°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#664ABE
RGBrgb(102, 74, 190)
HSLhsl(254, 47%, 52%)
HSVhsv(254, 61%, 75%)
CMYKcmyk(46.3%, 61.1%, 0%, 25.5%)
CIE-LABlab(40.31, 40.20, -57.22)
CIE-LCHlch(40.31, 69.93, 305.09°)
OKLaboklab(50.24% 0.0588 -0.1635)
OKLCHoklch(50.24% 0.174 289.8)
XYZxyz(17.2199, 11.4394, 50.0059)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664ABE #A2BE4A
analogous
#4A68BE #664ABE #A04ABE
triadic
#664ABE #BE664A #4ABE66
tetradic
#664ABE #BE4A68 #A2BE4A #4ABEA0
square
#664ABE #BE4A68 #A2BE4A #4ABEA0
split-complementary
#664ABE #BEA04A #68BE4A
monochromatic
#362568 #4D3695 #664ABE #8C77CE #B2A4DE

Accessibility & contrast

On white

6.39
#664ABE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#664ABE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664ABE
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664ABE#FFFFFF#000000##FFFFFF
##664ABE1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#005CBC
Tritanopia (blue-blind)
#4B657D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #664abe;
/* rgb */ color: rgb(102, 74, 190);
/* oklch */ color: oklch(50.2% 0.174 289.8);
Tailwind
colors: {
  custom: {
    50: '#987ed2',
    500: '#664abe',
    950: '#000000',
  },
}
SCSS
$custom: #664abe;
$custom-light: #987ed2;
$custom-dark: #000000;
JSON
{
  "hex": "#664abe",
  "rgb": {
    "r": 102,
    "g": 74,
    "b": 190
  },
  "hsl": {
    "h": 254.483,
    "s": 47.154,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50244,
    "c": 0.17377,
    "h": 289.8
  },
  "luminance": 0.1144
}

Semantic roles & 50–950 ramp

primary
#664ABE
secondary
#BFCB98
accent
#D751B6
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #664ABE

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

Preview Lab → · Contrast checker → · Palette generator →

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