#664DE1#664DE1

#664DE1 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.5% C 0.214 H 284.2°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#664DE1
RGBrgb(102, 77, 225)
HSLhsl(250, 71%, 59%)
HSVhsv(250, 66%, 88%)
CMYKcmyk(54.7%, 65.8%, 0%, 11.8%)
CIE-LABlab(43.61, 48.76, -72.03)
CIE-LCHlch(43.61, 86.98, 304.10°)
OKLaboklab(53.47% 0.0526 -0.207)
OKLCHoklch(53.47% 0.214 284.2)
XYZxyz(21.7198, 13.5675, 72.6939)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664DE1 #C8E14D
analogous
#4D7EE1 #664DE1 #B04DE1
triadic
#664DE1 #E1664D #4DE166
tetradic
#664DE1 #E14D7E #C8E14D #4DE1B0
square
#664DE1 #E14D7E #C8E14D #4DE1B0
split-complementary
#664DE1 #E1B04D #7EE14D
monochromatic
#2F1A9A #4023CE #664DE1 #9381EA #C0B6F3

Accessibility & contrast

On white

5.65
#664DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#664DE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664DE1
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664DE1#FFFFFF#000000##FFFFFF
##664DE11.005.653.715.65
#FFFFFF5.651.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE6
Deuteranopia (green-blind)
#0062DE
Tritanopia (blue-blind)
#2D7290
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #664de1;
/* rgb */ color: rgb(102, 77, 225);
/* oklch */ color: oklch(53.5% 0.214 284.2);
Tailwind
colors: {
  custom: {
    50: '#9d80eb',
    500: '#664de1',
    950: '#000000',
  },
}
SCSS
$custom: #664de1;
$custom-light: #9d80eb;
$custom-dark: #000000;
JSON
{
  "hex": "#664de1",
  "rgb": {
    "r": 102,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 250.135,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53469,
    "c": 0.21361,
    "h": 284.2
  },
  "luminance": 0.13569
}

Semantic roles & 50–950 ramp

primary
#664DE1
secondary
#D8E2A8
accent
#EE3ACF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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