#664CD0#664CD0

#664CD0 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.9% C 0.194 H 286.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#664CD0
RGBrgb(102, 76, 208)
HSLhsl(252, 58%, 56%)
HSVhsv(252, 63%, 82%)
CMYKcmyk(51%, 63.5%, 0%, 18.4%)
CIE-LABlab(42.07, 44.31, -64.80)
CIE-LCHlch(42.07, 78.50, 304.36°)
OKLaboklab(51.94% 0.0554 -0.1858)
OKLCHoklch(51.94% 0.194 286.6)
XYZxyz(19.4457, 12.5468, 61.0594)
Luminance0.1255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664CD0 #B6D04C
analogous
#4C74D0 #664CD0 #A84CD0
triadic
#664CD0 #D0664C #4CD066
tetradic
#664CD0 #D04C74 #B6D04C #4CD0A8
square
#664CD0 #D04C74 #B6D04C #4CD0A8
split-complementary
#664CD0 #D0A84C #74D04C
monochromatic
#342280 #482EB0 #664CD0 #8F7CDD #B9ADE9

Accessibility & contrast

On white

5.98
#664CD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#664CD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664CD0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664CD0#FFFFFF#000000##FFFFFF
##664CD01.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D4
Deuteranopia (green-blind)
#0060CD
Tritanopia (blue-blind)
#3E6C87
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #664cd0;
/* rgb */ color: rgb(102, 76, 208);
/* oklch */ color: oklch(51.9% 0.194 286.6);
Tailwind
colors: {
  custom: {
    50: '#9a7fdf',
    500: '#664cd0',
    950: '#000000',
  },
}
SCSS
$custom: #664cd0;
$custom-light: #9a7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#664cd0",
  "rgb": {
    "r": 102,
    "g": 76,
    "b": 208
  },
  "hsl": {
    "h": 251.818,
    "s": 58.407,
    "l": 55.686
  },
  "oklch": {
    "l": 0.51945,
    "c": 0.19389,
    "h": 286.6
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

primary
#664CD0
secondary
#CDD7A0
accent
#E246C3
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #664CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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