#664CDD#664CDD

#664CDD is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.0% C 0.210 H 284.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#664CDD
RGBrgb(102, 76, 221)
HSLhsl(251, 68%, 58%)
HSVhsv(251, 66%, 87%)
CMYKcmyk(53.8%, 65.6%, 0%, 13.3%)
CIE-LABlab(43.08, 48.14, -70.61)
CIE-LCHlch(43.08, 85.46, 304.28°)
OKLaboklab(52.99% 0.054 -0.2029)
OKLCHoklch(52.99% 0.21 284.9)
XYZxyz(21.1111, 13.2129, 69.8305)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664CDD #C3DD4C
analogous
#4C7ADD #664CDD #AF4CDD
triadic
#664CDD #DD664C #4CDD66
tetradic
#664CDD #DD4C7A #C3DD4C #4CDDAF
square
#664CDD #DD4C7A #C3DD4C #4CDDAF
split-complementary
#664CDD #DDAF4C #7ADD4C
monochromatic
#311C93 #4226C6 #664CDD #927FE7 #BEB3F1

Accessibility & contrast

On white

5.76
#664CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#664CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664CDD
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664CDD#FFFFFF#000000##FFFFFF
##664CDD1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE1
Deuteranopia (green-blind)
#0061DA
Tritanopia (blue-blind)
#32718E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #664cdd;
/* rgb */ color: rgb(102, 76, 221);
/* oklch */ color: oklch(53.0% 0.210 284.9);
Tailwind
colors: {
  custom: {
    50: '#9c80e9',
    500: '#664cdd',
    950: '#000000',
  },
}
SCSS
$custom: #664cdd;
$custom-light: #9c80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#664cdd",
  "rgb": {
    "r": 102,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 250.759,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.52992,
    "c": 0.20993,
    "h": 284.9
  },
  "luminance": 0.13214
}

Semantic roles & 50–950 ramp

primary
#664CDD
secondary
#D5DFA6
accent
#EB3DCC
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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