#664BC0#664BC0

#664BC0 is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.6% C 0.175 H 289.2°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#664BC0
RGBrgb(102, 75, 192)
HSLhsl(254, 48%, 52%)
HSVhsv(254, 61%, 75%)
CMYKcmyk(46.9%, 60.9%, 0%, 24.7%)
CIE-LABlab(40.67, 40.20, -57.80)
CIE-LCHlch(40.67, 70.41, 304.82°)
OKLaboklab(50.55% 0.0576 -0.1652)
OKLCHoklch(50.55% 0.175 289.2)
XYZxyz(17.5073, 11.6620, 51.1875)
Luminance0.1166 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664BC0 #A5C04B
analogous
#4B6BC0 #664BC0 #A04BC0
triadic
#664BC0 #C0664B #4BC066
tetradic
#664BC0 #C04B6B #A5C04B #4BC0A0
square
#664BC0 #C04B6B #A5C04B #4BC0A0
split-complementary
#664BC0 #C0A04B #6BC04B
monochromatic
#36256B #4C3598 #664BC0 #8D78D0 #B3A6E0

Accessibility & contrast

On white

6.30
#664BC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#664BC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664BC0
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664BC0#FFFFFF#000000##FFFFFF
##664BC01.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#005DBE
Tritanopia (blue-blind)
#49667E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #664bc0;
/* rgb */ color: rgb(102, 75, 192);
/* oklch */ color: oklch(50.6% 0.175 289.2);
Tailwind
colors: {
  custom: {
    50: '#987ed4',
    500: '#664bc0',
    950: '#000000',
  },
}
SCSS
$custom: #664bc0;
$custom-light: #987ed4;
$custom-dark: #000000;
JSON
{
  "hex": "#664bc0",
  "rgb": {
    "r": 102,
    "g": 75,
    "b": 192
  },
  "hsl": {
    "h": 253.846,
    "s": 48.148,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50554,
    "c": 0.17497,
    "h": 289.2
  },
  "luminance": 0.11663
}

Semantic roles & 50–950 ramp

primary
#664BC0
secondary
#C1CD9A
accent
#D850B8
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #664BC0

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

Preview Lab → · Contrast checker → · Palette generator →

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