#664AE0#664AE0

#664AE0 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.9% C 0.216 H 284.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#664AE0
RGBrgb(102, 74, 224)
HSLhsl(251, 71%, 58%)
HSVhsv(251, 67%, 88%)
CMYKcmyk(54.5%, 67%, 0%, 12.2%)
CIE-LABlab(42.92, 50.12, -72.59)
CIE-LCHlch(42.92, 88.21, 304.63°)
OKLaboklab(52.95% 0.0553 -0.2087)
OKLCHoklch(52.95% 0.216 284.9)
XYZxyz(21.3787, 13.1029, 71.9092)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664AE0 #C4E04A
analogous
#4A79E0 #664AE0 #B14AE0
triadic
#664AE0 #E0664A #4AE066
tetradic
#664AE0 #E04A79 #C4E04A #4AE0B1
square
#664AE0 #E04A79 #C4E04A #4AE0B1
split-complementary
#664AE0 #E0B14A #79E04A
monochromatic
#311A96 #4223CA #664AE0 #927EE9 #BEB3F2

Accessibility & contrast

On white

5.80
#664AE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#664AE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664AE0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664AE0#FFFFFF#000000##FFFFFF
##664AE01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#0061DD
Tritanopia (blue-blind)
#2F708F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #664ae0;
/* rgb */ color: rgb(102, 74, 224);
/* oklch */ color: oklch(52.9% 0.216 284.9);
Tailwind
colors: {
  custom: {
    50: '#9d7feb',
    500: '#664ae0',
    950: '#000000',
  },
}
SCSS
$custom: #664ae0;
$custom-light: #9d7feb;
$custom-dark: #000000;
JSON
{
  "hex": "#664ae0",
  "rgb": {
    "r": 102,
    "g": 74,
    "b": 224
  },
  "hsl": {
    "h": 251.2,
    "s": 70.755,
    "l": 58.431
  },
  "oklch": {
    "l": 0.52948,
    "c": 0.21588,
    "h": 284.9
  },
  "luminance": 0.13104
}

Semantic roles & 50–950 ramp

primary
#664AE0
secondary
#D6E1A5
accent
#EE3ACC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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