#664BC3#664BC3

#664BC3 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.8% C 0.179 H 288.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#664BC3
RGBrgb(102, 75, 195)
HSLhsl(254, 50%, 53%)
HSVhsv(254, 62%, 76%)
CMYKcmyk(47.7%, 61.5%, 0%, 23.5%)
CIE-LABlab(40.89, 41.08, -59.20)
CIE-LCHlch(40.89, 72.05, 304.76°)
OKLaboklab(50.78% 0.0575 -0.1693)
OKLCHoklch(50.78% 0.179 288.7)
XYZxyz(17.8431, 11.7963, 52.9559)
Luminance0.1180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664BC3 #A8C34B
analogous
#4B6CC3 #664BC3 #A24BC3
triadic
#664BC3 #C3664B #4BC366
tetradic
#664BC3 #C34B6C #A8C34B #4BC3A2
square
#664BC3 #C34B6C #A8C34B #4BC3A2
split-complementary
#664BC3 #C3A24B #6CC34B
monochromatic
#36256F #4C349D #664BC3 #8D79D2 #B4A7E2

Accessibility & contrast

On white

6.25
#664BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#664BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664BC3
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664BC3#FFFFFF#000000##FFFFFF
##664BC31.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#005DC1
Tritanopia (blue-blind)
#476780
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #664bc3;
/* rgb */ color: rgb(102, 75, 195);
/* oklch */ color: oklch(50.8% 0.179 288.7);
Tailwind
colors: {
  custom: {
    50: '#997ed6',
    500: '#664bc3',
    950: '#000000',
  },
}
SCSS
$custom: #664bc3;
$custom-light: #997ed6;
$custom-dark: #000000;
JSON
{
  "hex": "#664bc3",
  "rgb": {
    "r": 102,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 253.5,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50781,
    "c": 0.1788,
    "h": 288.7
  },
  "luminance": 0.11797
}

Semantic roles & 50–950 ramp

primary
#664BC3
secondary
#C3CF9B
accent
#DA4EBA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #664BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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