#664FD3#664FD3

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

Color values

HEX#664FD3
RGBrgb(102, 79, 211)
HSLhsl(250, 60%, 57%)
HSVhsv(250, 63%, 83%)
CMYKcmyk(51.7%, 62.6%, 0%, 17.3%)
CIE-LABlab(42.94, 43.48, -65.11)
CIE-LCHlch(42.94, 78.30, 303.73°)
OKLaboklab(52.65% 0.0522 -0.1867)
OKLCHoklch(52.65% 0.194 285.6)
XYZxyz(20.0298, 13.1189, 63.0922)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FD3 #BCD34F
analogous
#4F7AD3 #664FD3 #A84FD3
triadic
#664FD3 #D3664F #4FD366
tetradic
#664FD3 #D34F7A #BCD34F #4FD3A8
square
#664FD3 #D34F7A #BCD34F #4FD3A8
split-complementary
#664FD3 #D3A84F #7AD34F
monochromatic
#332286 #462EB7 #664FD3 #9180DF #BBB1EB

Accessibility & contrast

On white

5.79
#664FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#664FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664FD3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664FD3#FFFFFF#000000##FFFFFF
##664FD31.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#3B6F8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #664fd3;
/* rgb */ color: rgb(102, 79, 211);
/* oklch */ color: oklch(52.6% 0.194 285.6);
Tailwind
colors: {
  custom: {
    50: '#9a81e1',
    500: '#664fd3',
    950: '#000000',
  },
}
SCSS
$custom: #664fd3;
$custom-light: #9a81e1;
$custom-dark: #000000;
JSON
{
  "hex": "#664fd3",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 250.455,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.19387,
    "h": 285.6
  },
  "luminance": 0.1312
}

Semantic roles & 50–950 ramp

primary
#664FD3
secondary
#D0DAA4
accent
#E345C8
background
#FAF8FD
surface
#F3EFFB
border
#CDCAD4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #664FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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