#664BE9#664BE9

#664BE9 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 53.8% C 0.226 H 283.6°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#664BE9
RGBrgb(102, 75, 233)
HSLhsl(250, 78%, 60%)
HSVhsv(250, 68%, 91%)
CMYKcmyk(56.2%, 67.8%, 0%, 8.6%)
CIE-LABlab(43.86, 52.21, -76.16)
CIE-LCHlch(43.86, 92.34, 304.43°)
OKLaboklab(53.85% 0.0532 -0.2191)
OKLCHoklch(53.85% 0.226 283.6)
XYZxyz(22.6990, 13.7387, 78.5307)
Luminance0.1374 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664BE9 #CEE94B
analogous
#4B7FE9 #664BE9 #B54BE9
triadic
#664BE9 #E9664B #4BE966
tetradic
#664BE9 #E94B7F #CEE94B #4BE9B5
square
#664BE9 #E94B7F #CEE94B #4BE9B5
split-complementary
#664BE9 #E9B54B #7FE94B
monochromatic
#2D14A5 #3C1BDC #664BE9 #9482F0 #C3B8F6

Accessibility & contrast

On white

5.60
#664BE9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#664BE9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664BE9
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664BE9#FFFFFF#000000##FFFFFF
##664BE91.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #664be9;
/* rgb */ color: rgb(102, 75, 233);
/* oklch */ color: oklch(53.8% 0.226 283.6);
Tailwind
colors: {
  custom: {
    50: '#9e7ff1',
    500: '#664be9',
    950: '#000000',
  },
}
SCSS
$custom: #664be9;
$custom-light: #9e7ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#664be9",
  "rgb": {
    "r": 102,
    "g": 75,
    "b": 233
  },
  "hsl": {
    "h": 250.253,
    "s": 78.218,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5385,
    "c": 0.2255,
    "h": 283.6
  },
  "luminance": 0.1374
}

Semantic roles & 50–950 ramp

primary
#664BE9
secondary
#DCE6AA
accent
#DA0BB7
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664BE9

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

Preview Lab → · Contrast checker → · Palette generator →

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