#664DD3#664DD3

#664DD3 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.196 H 286.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#664DD3
RGBrgb(102, 77, 211)
HSLhsl(251, 60%, 56%)
HSVhsv(251, 64%, 83%)
CMYKcmyk(51.7%, 63.5%, 0%, 17.3%)
CIE-LABlab(42.51, 44.63, -65.81)
CIE-LCHlch(42.51, 79.52, 304.14°)
OKLaboklab(52.34% 0.0541 -0.1888)
OKLCHoklch(52.34% 0.196 286)
XYZxyz(19.8877, 12.8347, 63.0448)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664DD3 #BAD34D
analogous
#4D77D3 #664DD3 #A94DD3
triadic
#664DD3 #D3664D #4DD366
tetradic
#664DD3 #D34D77 #BAD34D #4DD3A9
square
#664DD3 #D34D77 #BAD34D #4DD3A9
split-complementary
#664DD3 #D3A94D #77D34D
monochromatic
#332185 #462DB6 #664DD3 #907EDF #BAAFEB

Accessibility & contrast

On white

5.89
#664DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#664DD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664DD3
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664DD3#FFFFFF#000000##FFFFFF
##664DD31.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D7
Deuteranopia (green-blind)
#0060D0
Tritanopia (blue-blind)
#3C6E89
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #664dd3;
/* rgb */ color: rgb(102, 77, 211);
/* oklch */ color: oklch(52.3% 0.196 286.0);
Tailwind
colors: {
  custom: {
    50: '#9b80e1',
    500: '#664dd3',
    950: '#000000',
  },
}
SCSS
$custom: #664dd3;
$custom-light: #9b80e1;
$custom-dark: #000000;
JSON
{
  "hex": "#664dd3",
  "rgb": {
    "r": 102,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 251.194,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52337,
    "c": 0.19638,
    "h": 286
  },
  "luminance": 0.12836
}

Semantic roles & 50–950 ramp

primary
#664DD3
secondary
#CFD9A2
accent
#E444C6
background
#FAF7FD
surface
#F3EEFB
border
#CDC9D4
text
#0F0A15
muted
#7F7C83

Preview Lab

Preview with #664DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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