#664ABB#664ABB

#664ABB is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.0% C 0.170 H 290.3°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#664ABB
RGBrgb(102, 74, 187)
HSLhsl(255, 45%, 51%)
HSVhsv(255, 60%, 73%)
CMYKcmyk(45.5%, 60.4%, 0%, 26.7%)
CIE-LABlab(40.10, 39.34, -55.81)
CIE-LCHlch(40.10, 68.28, 305.18°)
OKLaboklab(50.02% 0.059 -0.1594)
OKLCHoklch(50.02% 0.17 290.3)
XYZxyz(16.8954, 11.3096, 48.2968)
Luminance0.1131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664ABB #9FBB4A
analogous
#4A66BB #664ABB #9E4ABB
triadic
#664ABB #BB664A #4ABB66
tetradic
#664ABB #BB4A66 #9FBB4A #4ABB9E
square
#664ABB #BB4A66 #9FBB4A #4ABB9E
split-complementary
#664ABB #BB9E4A #66BB4A
monochromatic
#352665 #4D3791 #664ABB #8C76CC #B1A3DC

Accessibility & contrast

On white

6.44
#664ABB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#664ABB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664ABB
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664ABB#FFFFFF#000000##FFFFFF
##664ABB1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BF
Deuteranopia (green-blind)
#005CB9
Tritanopia (blue-blind)
#4C647B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #664abb;
/* rgb */ color: rgb(102, 74, 187);
/* oklch */ color: oklch(50.0% 0.170 290.3);
Tailwind
colors: {
  custom: {
    50: '#987ed0',
    500: '#664abb',
    950: '#000000',
  },
}
SCSS
$custom: #664abb;
$custom-light: #987ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#664abb",
  "rgb": {
    "r": 102,
    "g": 74,
    "b": 187
  },
  "hsl": {
    "h": 254.867,
    "s": 45.382,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5002,
    "c": 0.16992,
    "h": 290.3
  },
  "luminance": 0.1131
}

Semantic roles & 50–950 ramp

primary
#664ABB
secondary
#BDC997
accent
#D553B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #664ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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