#664CE5#664CE5

#664CE5 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.7% C 0.220 H 283.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#664CE5
RGBrgb(102, 76, 229)
HSLhsl(250, 75%, 60%)
HSVhsv(250, 67%, 90%)
CMYKcmyk(55.5%, 66.8%, 0%, 10.2%)
CIE-LABlab(43.73, 50.49, -74.11)
CIE-LCHlch(43.73, 89.67, 304.27°)
OKLaboklab(53.65% 0.0529 -0.2131)
OKLCHoklch(53.65% 0.22 283.9)
XYZxyz(22.2025, 13.6495, 75.5782)
Luminance0.1365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664CE5 #CBE54C
analogous
#4C7FE5 #664CE5 #B24CE5
triadic
#664CE5 #E5664C #4CE566
tetradic
#664CE5 #E54C7F #CBE54C #4CE5B2
square
#664CE5 #E54C7F #CBE54C #4CE5B2
split-complementary
#664CE5 #E5B24C #7FE54C
monochromatic
#2E179F #3E1FD5 #664CE5 #9481ED #C1B7F5

Accessibility & contrast

On white

5.63
#664CE5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#664CE5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664CE5
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664CE5#FFFFFF#000000##FFFFFF
##664CE51.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEA
Deuteranopia (green-blind)
#0062E2
Tritanopia (blue-blind)
#287392
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #664ce5;
/* rgb */ color: rgb(102, 76, 229);
/* oklch */ color: oklch(53.7% 0.220 283.9);
Tailwind
colors: {
  custom: {
    50: '#9d80ee',
    500: '#664ce5',
    950: '#000000',
  },
}
SCSS
$custom: #664ce5;
$custom-light: #9d80ee;
$custom-dark: #000000;
JSON
{
  "hex": "#664ce5",
  "rgb": {
    "r": 102,
    "g": 76,
    "b": 229
  },
  "hsl": {
    "h": 250.196,
    "s": 74.634,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53655,
    "c": 0.2196,
    "h": 283.9
  },
  "luminance": 0.13651
}

Semantic roles & 50–950 ramp

primary
#664CE5
secondary
#DAE4A9
accent
#F137D2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664CE5

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

Preview Lab → · Contrast checker → · Palette generator →

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