#664AE7#664AE7

#664AE7 is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.5% C 0.224 H 284.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#664AE7
RGBrgb(102, 74, 231)
HSLhsl(251, 77%, 60%)
HSVhsv(251, 68%, 91%)
CMYKcmyk(55.8%, 68%, 0%, 9.4%)
CIE-LABlab(43.49, 52.17, -75.62)
CIE-LCHlch(43.49, 91.87, 304.60°)
OKLaboklab(53.54% 0.0543 -0.2176)
OKLCHoklch(53.54% 0.224 284)
XYZxyz(22.3477, 13.4905, 77.0122)
Luminance0.1349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664AE7 #CBE74A
analogous
#4A7CE7 #664AE7 #B54AE7
triadic
#664AE7 #E7664A #4AE766
tetradic
#664AE7 #E74A7C #CBE74A #4AE7B5
square
#664AE7 #E74A7C #CBE74A #4AE7B5
split-complementary
#664AE7 #E7B54A #7CE74A
monochromatic
#2E15A1 #3E1DD7 #664AE7 #9480EE #C1B6F5

Accessibility & contrast

On white

5.68
#664AE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#664AE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664AE7
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664AE7#FFFFFF#000000##FFFFFF
##664AE71.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEC
Deuteranopia (green-blind)
#0062E4
Tritanopia (blue-blind)
#257393
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #664ae7;
/* rgb */ color: rgb(102, 74, 231);
/* oklch */ color: oklch(53.5% 0.224 284.0);
Tailwind
colors: {
  custom: {
    50: '#9e7ff0',
    500: '#664ae7',
    950: '#000000',
  },
}
SCSS
$custom: #664ae7;
$custom-light: #9e7ff0;
$custom-dark: #000000;
JSON
{
  "hex": "#664ae7",
  "rgb": {
    "r": 102,
    "g": 74,
    "b": 231
  },
  "hsl": {
    "h": 250.701,
    "s": 76.585,
    "l": 59.804
  },
  "oklch": {
    "l": 0.53539,
    "c": 0.22424,
    "h": 284
  },
  "luminance": 0.13492
}

Semantic roles & 50–950 ramp

primary
#664AE7
secondary
#DAE5A8
accent
#F335D1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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