#664CE4#664CE4

#664CE4 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.6% C 0.218 H 284.1°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#664CE4
RGBrgb(102, 76, 228)
HSLhsl(250, 74%, 60%)
HSVhsv(250, 67%, 89%)
CMYKcmyk(55.3%, 66.7%, 0%, 10.6%)
CIE-LABlab(43.64, 50.20, -73.67)
CIE-LCHlch(43.64, 89.15, 304.27°)
OKLaboklab(53.57% 0.053 -0.2119)
OKLCHoklch(53.57% 0.218 284.1)
XYZxyz(22.0632, 13.5938, 74.8450)
Luminance0.1359 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664CE4 #CAE44C
analogous
#4C7EE4 #664CE4 #B24CE4
triadic
#664CE4 #E4664C #4CE466
tetradic
#664CE4 #E44C7E #CAE44C #4CE4B2
square
#664CE4 #E44C7E #CAE44C #4CE4B2
split-complementary
#664CE4 #E4B24C #7EE44C
monochromatic
#2F189E #3E20D3 #664CE4 #9381EC #C1B6F4

Accessibility & contrast

On white

5.65
#664CE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#664CE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664CE4
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664CE4#FFFFFF#000000##FFFFFF
##664CE41.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CE9
Deuteranopia (green-blind)
#0062E1
Tritanopia (blue-blind)
#297392
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #664ce4;
/* rgb */ color: rgb(102, 76, 228);
/* oklch */ color: oklch(53.6% 0.218 284.1);
Tailwind
colors: {
  custom: {
    50: '#9d80ee',
    500: '#664ce4',
    950: '#000000',
  },
}
SCSS
$custom: #664ce4;
$custom-light: #9d80ee;
$custom-dark: #000000;
JSON
{
  "hex": "#664ce4",
  "rgb": {
    "r": 102,
    "g": 76,
    "b": 228
  },
  "hsl": {
    "h": 250.263,
    "s": 73.786,
    "l": 59.608
  },
  "oklch": {
    "l": 0.53571,
    "c": 0.2184,
    "h": 284.1
  },
  "luminance": 0.13595
}

Semantic roles & 50–950 ramp

primary
#664CE4
secondary
#D9E3A8
accent
#F037D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #664CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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