#664DE3#664DE3

#664DE3 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.6% C 0.216 H 284.0°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#664DE3
RGBrgb(102, 77, 227)
HSLhsl(250, 73%, 60%)
HSVhsv(250, 66%, 89%)
CMYKcmyk(55.1%, 66.1%, 0%, 11%)
CIE-LABlab(43.77, 49.35, -72.91)
CIE-LCHlch(43.77, 88.04, 304.10°)
OKLaboklab(53.63% 0.0523 -0.2096)
OKLCHoklch(53.63% 0.216 284)
XYZxyz(21.9943, 13.6773, 74.1392)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664DE3 #CAE34D
analogous
#4D7FE3 #664DE3 #B14DE3
triadic
#664DE3 #E3664D #4DE366
tetradic
#664DE3 #E34D7F #CAE34D #4DE3B1
square
#664DE3 #E34D7F #CAE34D #4DE3B1
split-complementary
#664DE3 #E3B14D #7FE34D
monochromatic
#2F199D #3E21D2 #664DE3 #9382EB #C1B7F4

Accessibility & contrast

On white

5.62
#664DE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#664DE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664DE3
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664DE3#FFFFFF#000000##FFFFFF
##664DE31.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE8
Deuteranopia (green-blind)
#0063E0
Tritanopia (blue-blind)
#2B7392
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #664de3;
/* rgb */ color: rgb(102, 77, 227);
/* oklch */ color: oklch(53.6% 0.216 284.0);
Tailwind
colors: {
  custom: {
    50: '#9d81ed',
    500: '#664de3',
    950: '#000000',
  },
}
SCSS
$custom: #664de3;
$custom-light: #9d81ed;
$custom-dark: #000000;
JSON
{
  "hex": "#664de3",
  "rgb": {
    "r": 102,
    "g": 77,
    "b": 227
  },
  "hsl": {
    "h": 250,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.21604,
    "h": 284
  },
  "luminance": 0.13679
}

Semantic roles & 50–950 ramp

primary
#664DE3
secondary
#D9E3A9
accent
#F038D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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