#664CE0#664CE0

#664CE0 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.2% C 0.214 H 284.5°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#664CE0
RGBrgb(102, 76, 224)
HSLhsl(251, 70%, 59%)
HSVhsv(251, 66%, 88%)
CMYKcmyk(54.5%, 66.1%, 0%, 12.2%)
CIE-LABlab(43.32, 49.02, -71.93)
CIE-LCHlch(43.32, 87.04, 304.28°)
OKLaboklab(53.24% 0.0536 -0.2067)
OKLCHoklch(53.24% 0.214 284.5)
XYZxyz(21.5144, 13.3742, 71.9544)
Luminance0.1338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664CE0 #C6E04C
analogous
#4C7CE0 #664CE0 #B04CE0
triadic
#664CE0 #E0664C #4CE066
tetradic
#664CE0 #E04C7C #C6E04C #4CE0B0
square
#664CE0 #E04C7C #C6E04C #4CE0B0
split-complementary
#664CE0 #E0B04C #7CE04C
monochromatic
#301A97 #4123CC #664CE0 #9380E9 #BFB4F2

Accessibility & contrast

On white

5.71
#664CE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#664CE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664CE0
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664CE0#FFFFFF#000000##FFFFFF
##664CE01.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE5
Deuteranopia (green-blind)
#0062DD
Tritanopia (blue-blind)
#2F7290
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #664ce0;
/* rgb */ color: rgb(102, 76, 224);
/* oklch */ color: oklch(53.2% 0.214 284.5);
Tailwind
colors: {
  custom: {
    50: '#9d80eb',
    500: '#664ce0',
    950: '#000000',
  },
}
SCSS
$custom: #664ce0;
$custom-light: #9d80eb;
$custom-dark: #000000;
JSON
{
  "hex": "#664ce0",
  "rgb": {
    "r": 102,
    "g": 76,
    "b": 224
  },
  "hsl": {
    "h": 250.541,
    "s": 70.476,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53239,
    "c": 0.21357,
    "h": 284.5
  },
  "luminance": 0.13375
}

Semantic roles & 50–950 ramp

primary
#664CE0
secondary
#D7E1A7
accent
#ED3BCE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664CE0

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

Preview Lab → · Contrast checker → · Palette generator →

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