#664FD2#664FD2

#664FD2 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.193 H 285.7°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#664FD2
RGBrgb(102, 79, 210)
HSLhsl(251, 59%, 57%)
HSVhsv(251, 62%, 82%)
CMYKcmyk(51.4%, 62.4%, 0%, 17.6%)
CIE-LABlab(42.87, 43.19, -64.66)
CIE-LCHlch(42.87, 77.76, 303.74°)
OKLaboklab(52.57% 0.0522 -0.1854)
OKLCHoklch(52.57% 0.193 285.7)
XYZxyz(19.9049, 13.0689, 62.4340)
Luminance0.1307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FD2 #BBD24F
analogous
#4F7AD2 #664FD2 #A74FD2
triadic
#664FD2 #D2664F #4FD266
tetradic
#664FD2 #D24F7A #BBD24F #4FD2A7
square
#664FD2 #D24F7A #BBD24F #4FD2A7
split-complementary
#664FD2 #D2A74F #7AD24F
monochromatic
#332285 #462EB5 #664FD2 #9080DE #BBB0EB

Accessibility & contrast

On white

5.81
#664FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#664FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664FD2
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664FD2#FFFFFF#000000##FFFFFF
##664FD21.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D6
Deuteranopia (green-blind)
#0061CF
Tritanopia (blue-blind)
#3C6F89
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #664fd2;
/* rgb */ color: rgb(102, 79, 210);
/* oklch */ color: oklch(52.6% 0.193 285.7);
Tailwind
colors: {
  custom: {
    50: '#9a81e1',
    500: '#664fd2',
    950: '#000000',
  },
}
SCSS
$custom: #664fd2;
$custom-light: #9a81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#664fd2",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 250.534,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5257,
    "c": 0.19261,
    "h": 285.7
  },
  "luminance": 0.1307
}

Semantic roles & 50–950 ramp

primary
#664FD2
secondary
#D0D9A4
accent
#E245C7
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #664FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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