#664CDA#664CDA

#664CDA is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 52.7% C 0.206 H 285.3°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#664CDA
RGBrgb(102, 76, 218)
HSLhsl(251, 66%, 58%)
HSVhsv(251, 65%, 85%)
CMYKcmyk(53.2%, 65.1%, 0%, 14.5%)
CIE-LABlab(42.85, 47.25, -69.28)
CIE-LCHlch(42.85, 83.86, 304.30°)
OKLaboklab(52.75% 0.0543 -0.199)
OKLCHoklch(52.75% 0.206 285.3)
XYZxyz(20.7150, 13.0545, 67.7443)
Luminance0.1306 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664CDA #C0DA4C
analogous
#4C79DA #664CDA #AD4CDA
triadic
#664CDA #DA664C #4CDA66
tetradic
#664CDA #DA4C79 #C0DA4C #4CDAAD
square
#664CDA #DA4C79 #C0DA4C #4CDAAD
split-complementary
#664CDA #DAAD4C #79DA4C
monochromatic
#321D8E #4428C1 #664CDA #917FE4 #BDB1EF

Accessibility & contrast

On white

5.82
#664CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #664CDA
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664CDA#FFFFFF#000000##FFFFFF
##664CDA1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069DE
Deuteranopia (green-blind)
#0061D7
Tritanopia (blue-blind)
#356F8C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #664cda;
/* rgb */ color: rgb(102, 76, 218);
/* oklch */ color: oklch(52.7% 0.206 285.3);
Tailwind
colors: {
  custom: {
    50: '#9c80e6',
    500: '#664cda',
    950: '#000000',
  },
}
SCSS
$custom: #664cda;
$custom-light: #9c80e6;
$custom-dark: #000000;
JSON
{
  "hex": "#664cda",
  "rgb": {
    "r": 102,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 250.986,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.52747,
    "c": 0.20625,
    "h": 285.3
  },
  "luminance": 0.13056
}

Semantic roles & 50–950 ramp

primary
#664CDA
secondary
#D3DDA4
accent
#E93FCA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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