#664EBE#664EBE

#664EBE is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.168 H 288.8°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#664EBE
RGBrgb(102, 78, 190)
HSLhsl(253, 46%, 53%)
HSVhsv(253, 59%, 75%)
CMYKcmyk(46.3%, 58.9%, 0%, 25.5%)
CIE-LABlab(41.20, 37.87, -55.78)
CIE-LCHlch(41.20, 67.42, 304.17°)
OKLaboklab(50.9% 0.0544 -0.1593)
OKLCHoklch(50.9% 0.168 288.8)
XYZxyz(17.4955, 11.9906, 50.0978)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664EBE #A6BE4E
analogous
#4E6EBE #664EBE #9E4EBE
triadic
#664EBE #BE664E #4EBE66
tetradic
#664EBE #BE4E6E #A6BE4E #4EBE9E
square
#664EBE #BE4E6E #A6BE4E #4EBE9E
split-complementary
#664EBE #BE9E4E #6EBE4E
monochromatic
#36276A #4C3897 #664EBE #8D7BCE #B3A8DF

Accessibility & contrast

On white

6.18
#664EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#664EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664EBE
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664EBE#FFFFFF#000000##FFFFFF
##664EBE1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#005EBC
Tritanopia (blue-blind)
#4A677E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #664ebe;
/* rgb */ color: rgb(102, 78, 190);
/* oklch */ color: oklch(50.9% 0.168 288.8);
Tailwind
colors: {
  custom: {
    50: '#9880d2',
    500: '#664ebe',
    950: '#000000',
  },
}
SCSS
$custom: #664ebe;
$custom-light: #9880d2;
$custom-dark: #000000;
JSON
{
  "hex": "#664ebe",
  "rgb": {
    "r": 102,
    "g": 78,
    "b": 190
  },
  "hsl": {
    "h": 252.857,
    "s": 46.281,
    "l": 52.549
  },
  "oklch": {
    "l": 0.50896,
    "c": 0.16828,
    "h": 288.8
  },
  "luminance": 0.11991
}

Semantic roles & 50–950 ramp

primary
#664EBE
secondary
#C2CC9C
accent
#D652BA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #664EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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