#664BC1#664BC1

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

Color values

HEX#664BC1
RGBrgb(102, 75, 193)
HSLhsl(254, 49%, 53%)
HSVhsv(254, 61%, 76%)
CMYKcmyk(47.2%, 61.1%, 0%, 24.3%)
CIE-LABlab(40.75, 40.49, -58.27)
CIE-LCHlch(40.75, 70.96, 304.80°)
OKLaboklab(50.63% 0.0576 -0.1666)
OKLCHoklch(50.63% 0.176 289.1)
XYZxyz(17.6185, 11.7065, 51.7730)
Luminance0.1171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664BC1 #A6C14B
analogous
#4B6BC1 #664BC1 #A14BC1
triadic
#664BC1 #C1664B #4BC166
tetradic
#664BC1 #C14B6B #A6C14B #4BC1A1
square
#664BC1 #C14B6B #A6C14B #4BC1A1
split-complementary
#664BC1 #C1A14B #6BC14B
monochromatic
#36256C #4C359A #664BC1 #8D79D1 #B3A6E0

Accessibility & contrast

On white

6.28
#664BC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#664BC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664BC1
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664BC1#FFFFFF#000000##FFFFFF
##664BC11.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C5
Deuteranopia (green-blind)
#005DBF
Tritanopia (blue-blind)
#49667F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #664bc1;
/* rgb */ color: rgb(102, 75, 193);
/* oklch */ color: oklch(50.6% 0.176 289.1);
Tailwind
colors: {
  custom: {
    50: '#987ed5',
    500: '#664bc1',
    950: '#000000',
  },
}
SCSS
$custom: #664bc1;
$custom-light: #987ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#664bc1",
  "rgb": {
    "r": 102,
    "g": 75,
    "b": 193
  },
  "hsl": {
    "h": 253.729,
    "s": 48.76,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5063,
    "c": 0.17626,
    "h": 289.1
  },
  "luminance": 0.11707
}

Semantic roles & 50–950 ramp

primary
#664BC1
secondary
#C2CE9A
accent
#D84FB9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #664BC1

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

Preview Lab → · Contrast checker → · Palette generator →

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