#664AE9#664AE9

#664AE9 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 53.7% C 0.227 H 283.8°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#664AE9
RGBrgb(102, 74, 233)
HSLhsl(251, 78%, 60%)
HSVhsv(251, 68%, 91%)
CMYKcmyk(56.2%, 68.2%, 0%, 8.6%)
CIE-LABlab(43.66, 52.75, -76.48)
CIE-LCHlch(43.66, 92.91, 304.60°)
OKLaboklab(53.71% 0.054 -0.2201)
OKLCHoklch(53.71% 0.227 283.8)
XYZxyz(22.6317, 13.6041, 78.5083)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664AE9 #CDE94A
analogous
#4A7DE9 #664AE9 #B54AE9
triadic
#664AE9 #E9664A #4AE966
tetradic
#664AE9 #E94A7D #CDE94A #4AE9B5
square
#664AE9 #E94A7D #CDE94A #4AE9B5
split-complementary
#664AE9 #E9B54A #7DE94A
monochromatic
#2D14A5 #3D1BDB #664AE9 #9481F0 #C2B7F6

Accessibility & contrast

On white

5.64
#664AE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #664AE9
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664AE9#FFFFFF#000000##FFFFFF
##664AE91.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEE
Deuteranopia (green-blind)
#0062E6
Tritanopia (blue-blind)
#227494
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #664ae9;
/* rgb */ color: rgb(102, 74, 233);
/* oklch */ color: oklch(53.7% 0.227 283.8);
Tailwind
colors: {
  custom: {
    50: '#9e7ff1',
    500: '#664ae9',
    950: '#000000',
  },
}
SCSS
$custom: #664ae9;
$custom-light: #9e7ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#664ae9",
  "rgb": {
    "r": 102,
    "g": 74,
    "b": 233
  },
  "hsl": {
    "h": 250.566,
    "s": 78.325,
    "l": 60.196
  },
  "oklch": {
    "l": 0.53709,
    "c": 0.22661,
    "h": 283.8
  },
  "luminance": 0.13606
}

Semantic roles & 50–950 ramp

primary
#664AE9
secondary
#DBE6A9
accent
#DB0BB6
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664AE9

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

Preview Lab → · Contrast checker → · Palette generator →

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