#664DE2#664DE2

#664DE2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.6% C 0.215 H 284.1°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#664DE2
RGBrgb(102, 77, 226)
HSLhsl(250, 72%, 59%)
HSVhsv(250, 66%, 89%)
CMYKcmyk(54.9%, 65.9%, 0%, 11.4%)
CIE-LABlab(43.69, 49.06, -72.47)
CIE-LCHlch(43.69, 87.51, 304.10°)
OKLaboklab(53.55% 0.0524 -0.2083)
OKLCHoklch(53.55% 0.215 284.1)
XYZxyz(21.8567, 13.6222, 73.4144)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664DE2 #C9E24D
analogous
#4D7FE2 #664DE2 #B14DE2
triadic
#664DE2 #E2664D #4DE266
tetradic
#664DE2 #E24D7F #C9E24D #4DE2B1
square
#664DE2 #E24D7F #C9E24D #4DE2B1
split-complementary
#664DE2 #E2B14D #7FE24D
monochromatic
#2F199B #3F22D0 #664DE2 #9382EB #C0B6F3

Accessibility & contrast

On white

5.64
#664DE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#664DE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664DE2
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664DE2#FFFFFF#000000##FFFFFF
##664DE21.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE7
Deuteranopia (green-blind)
#0062DF
Tritanopia (blue-blind)
#2C7391
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #664de2;
/* rgb */ color: rgb(102, 77, 226);
/* oklch */ color: oklch(53.6% 0.215 284.1);
Tailwind
colors: {
  custom: {
    50: '#9d80ec',
    500: '#664de2',
    950: '#000000',
  },
}
SCSS
$custom: #664de2;
$custom-light: #9d80ec;
$custom-dark: #000000;
JSON
{
  "hex": "#664de2",
  "rgb": {
    "r": 102,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 250.067,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.53551,
    "c": 0.21483,
    "h": 284.1
  },
  "luminance": 0.13624
}

Semantic roles & 50–950 ramp

primary
#664DE2
secondary
#D9E2A8
accent
#EF39D0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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