#664AE3#664AE3

#664AE3 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.2% C 0.219 H 284.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#664AE3
RGBrgb(102, 74, 227)
HSLhsl(251, 73%, 59%)
HSVhsv(251, 67%, 89%)
CMYKcmyk(55.1%, 67.4%, 0%, 11%)
CIE-LABlab(43.16, 51.00, -73.89)
CIE-LCHlch(43.16, 89.78, 304.61°)
OKLaboklab(53.2% 0.0549 -0.2125)
OKLCHoklch(53.2% 0.219 284.5)
XYZxyz(21.7892, 13.2671, 74.0708)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664AE3 #C7E34A
analogous
#4A7BE3 #664AE3 #B24AE3
triadic
#664AE3 #E3664A #4AE366
tetradic
#664AE3 #E34A7B #C7E34A #4AE3B2
square
#664AE3 #E34A7B #C7E34A #4AE3B2
split-complementary
#664AE3 #E3B24A #7BE34A
monochromatic
#30189B #4020D0 #664AE3 #937FEB #C0B4F3

Accessibility & contrast

On white

5.75
#664AE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#664AE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664AE3
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664AE3#FFFFFF#000000##FFFFFF
##664AE31.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE8
Deuteranopia (green-blind)
#0061E0
Tritanopia (blue-blind)
#2B7291
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #664ae3;
/* rgb */ color: rgb(102, 74, 227);
/* oklch */ color: oklch(53.2% 0.219 284.5);
Tailwind
colors: {
  custom: {
    50: '#9d7fed',
    500: '#664ae3',
    950: '#000000',
  },
}
SCSS
$custom: #664ae3;
$custom-light: #9d7fed;
$custom-dark: #000000;
JSON
{
  "hex": "#664ae3",
  "rgb": {
    "r": 102,
    "g": 74,
    "b": 227
  },
  "hsl": {
    "h": 250.98,
    "s": 73.206,
    "l": 59.02
  },
  "oklch": {
    "l": 0.532,
    "c": 0.21947,
    "h": 284.5
  },
  "luminance": 0.13268
}

Semantic roles & 50–950 ramp

primary
#664AE3
secondary
#D7E2A6
accent
#F038CE
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #664AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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