#664BC9#664BC9

#664BC9 is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.2% C 0.186 H 287.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#664BC9
RGBrgb(102, 75, 201)
HSLhsl(253, 54%, 54%)
HSVhsv(253, 63%, 79%)
CMYKcmyk(49.3%, 62.7%, 0%, 21.2%)
CIE-LABlab(41.33, 42.83, -61.96)
CIE-LCHlch(41.33, 75.32, 304.65°)
OKLaboklab(51.24% 0.057 -0.1775)
OKLCHoklch(51.24% 0.186 287.8)
XYZxyz(18.5351, 12.0732, 56.6007)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664BC9 #AEC94B
analogous
#4B6FC9 #664BC9 #A54BC9
triadic
#664BC9 #C9664B #4BC966
tetradic
#664BC9 #C94B6F #AEC94B #4BC9A5
square
#664BC9 #C94B6F #AEC94B #4BC9A5
split-complementary
#664BC9 #C9A54B #6FC94B
monochromatic
#352376 #4A32A5 #664BC9 #8E7AD7 #B6A9E5

Accessibility & contrast

On white

6.15
#664BC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#664BC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664BC9
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664BC9#FFFFFF#000000##FFFFFF
##664BC91.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CD
Deuteranopia (green-blind)
#005EC6
Tritanopia (blue-blind)
#446983
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #664bc9;
/* rgb */ color: rgb(102, 75, 201);
/* oklch */ color: oklch(51.2% 0.186 287.8);
Tailwind
colors: {
  custom: {
    50: '#997fda',
    500: '#664bc9',
    950: '#000000',
  },
}
SCSS
$custom: #664bc9;
$custom-light: #997fda;
$custom-dark: #000000;
JSON
{
  "hex": "#664bc9",
  "rgb": {
    "r": 102,
    "g": 75,
    "b": 201
  },
  "hsl": {
    "h": 252.857,
    "s": 53.846,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51242,
    "c": 0.18639,
    "h": 287.8
  },
  "luminance": 0.12074
}

Semantic roles & 50–950 ramp

primary
#664BC9
secondary
#C7D39D
accent
#DD4BBE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #664BC9

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

Preview Lab → · Contrast checker → · Palette generator →

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