#664AE4#664AE4

#664AE4 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.3% C 0.221 H 284.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#664AE4
RGBrgb(102, 74, 228)
HSLhsl(251, 74%, 59%)
HSVhsv(251, 68%, 89%)
CMYKcmyk(55.3%, 67.5%, 0%, 10.6%)
CIE-LABlab(43.25, 51.29, -74.33)
CIE-LCHlch(43.25, 90.31, 304.61°)
OKLaboklab(53.28% 0.0547 -0.2138)
OKLCHoklch(53.28% 0.221 284.4)
XYZxyz(21.9276, 13.3225, 74.7998)
Luminance0.1332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664AE4 #C8E44A
analogous
#4A7BE4 #664AE4 #B34AE4
triadic
#664AE4 #E4664A #4AE466
tetradic
#664AE4 #E44A7B #C8E44A #4AE4B3
square
#664AE4 #E44A7B #C8E44A #4AE4B3
split-complementary
#664AE4 #E4B34A #7BE44A
monochromatic
#2F179C #401FD2 #664AE4 #937FEC #C0B5F4

Accessibility & contrast

On white

5.73
#664AE4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#664AE4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664AE4
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664AE4#FFFFFF#000000##FFFFFF
##664AE41.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE9
Deuteranopia (green-blind)
#0061E1
Tritanopia (blue-blind)
#2A7291
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #664ae4;
/* rgb */ color: rgb(102, 74, 228);
/* oklch */ color: oklch(53.3% 0.221 284.4);
Tailwind
colors: {
  custom: {
    50: '#9d7fee',
    500: '#664ae4',
    950: '#000000',
  },
}
SCSS
$custom: #664ae4;
$custom-light: #9d7fee;
$custom-dark: #000000;
JSON
{
  "hex": "#664ae4",
  "rgb": {
    "r": 102,
    "g": 74,
    "b": 228
  },
  "hsl": {
    "h": 250.909,
    "s": 74.038,
    "l": 59.216
  },
  "oklch": {
    "l": 0.53284,
    "c": 0.22067,
    "h": 284.4
  },
  "luminance": 0.13324
}

Semantic roles & 50–950 ramp

primary
#664AE4
secondary
#D8E3A7
accent
#F137CF
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #664AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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