#664BD0#664BD0

#664BD0 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.8% C 0.195 H 286.8°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#664BD0
RGBrgb(102, 75, 208)
HSLhsl(252, 59%, 55%)
HSVhsv(252, 64%, 82%)
CMYKcmyk(51%, 63.9%, 0%, 18.4%)
CIE-LABlab(41.86, 44.88, -65.15)
CIE-LCHlch(41.86, 79.11, 304.56°)
OKLaboklab(51.79% 0.0564 -0.1868)
OKLCHoklch(51.79% 0.195 286.8)
XYZxyz(19.3774, 12.4101, 61.0366)
Luminance0.1241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664BD0 #B5D04B
analogous
#4B73D0 #664BD0 #A84BD0
triadic
#664BD0 #D0664B #4BD066
tetradic
#664BD0 #D04B73 #B5D04B #4BD0A8
square
#664BD0 #D04B73 #B5D04B #4BD0A8
split-complementary
#664BD0 #D0A84B #73D04B
monochromatic
#34217F #482EB0 #664BD0 #8F7CDD #B8ACE9

Accessibility & contrast

On white

6.03
#664BD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#664BD0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664BD0
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664BD0#FFFFFF#000000##FFFFFF
##664BD01.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066D4
Deuteranopia (green-blind)
#005FCD
Tritanopia (blue-blind)
#3E6B87
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #664bd0;
/* rgb */ color: rgb(102, 75, 208);
/* oklch */ color: oklch(51.8% 0.195 286.8);
Tailwind
colors: {
  custom: {
    50: '#9a7fdf',
    500: '#664bd0',
    950: '#000000',
  },
}
SCSS
$custom: #664bd0;
$custom-light: #9a7fdf;
$custom-dark: #000000;
JSON
{
  "hex": "#664bd0",
  "rgb": {
    "r": 102,
    "g": 75,
    "b": 208
  },
  "hsl": {
    "h": 252.18,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.51792,
    "c": 0.19514,
    "h": 286.8
  },
  "luminance": 0.12411
}

Semantic roles & 50–950 ramp

primary
#664BD0
secondary
#CCD7A0
accent
#E246C2
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #664BD0

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

Preview Lab → · Contrast checker → · Palette generator →

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