#664BDC#664BDC

#664BDC is a mid, highly saturated violet. Relative luminance 0.130; OKLCH L 52.8% C 0.210 H 285.2°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#664BDC
RGBrgb(102, 75, 220)
HSLhsl(251, 67%, 58%)
HSVhsv(251, 66%, 86%)
CMYKcmyk(53.6%, 65.9%, 0%, 13.7%)
CIE-LABlab(42.80, 48.40, -70.50)
CIE-LCHlch(42.80, 85.52, 304.47°)
OKLaboklab(52.76% 0.055 -0.2025)
OKLCHoklch(52.76% 0.21 285.2)
XYZxyz(20.9099, 13.0231, 69.1082)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664BDC #C1DC4B
analogous
#4B79DC #664BDC #AE4BDC
triadic
#664BDC #DC664B #4BDC66
tetradic
#664BDC #DC4B79 #C1DC4B #4BDCAE
square
#664BDC #DC4B79 #C1DC4B #4BDCAE
split-complementary
#664BDC #DCAE4B #79DC4B
monochromatic
#321C91 #4326C4 #664BDC #927EE6 #BDB1F0

Accessibility & contrast

On white

5.83
#664BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#664BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664BDC
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664BDC#FFFFFF#000000##FFFFFF
##664BDC1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#0061D9
Tritanopia (blue-blind)
#33708D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #664bdc;
/* rgb */ color: rgb(102, 75, 220);
/* oklch */ color: oklch(52.8% 0.210 285.2);
Tailwind
colors: {
  custom: {
    50: '#9c7fe8',
    500: '#664bdc',
    950: '#000000',
  },
}
SCSS
$custom: #664bdc;
$custom-light: #9c7fe8;
$custom-dark: #000000;
JSON
{
  "hex": "#664bdc",
  "rgb": {
    "r": 102,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 251.172,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.52762,
    "c": 0.20988,
    "h": 285.2
  },
  "luminance": 0.13024
}

Semantic roles & 50–950 ramp

primary
#664BDC
secondary
#D4DEA4
accent
#EA3DCA
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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