#664EEC#664EEC

#664EEC is a mid, highly saturated blue. Relative luminance 0.143; OKLCH L 54.5% C 0.226 H 282.9°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#664EEC
RGBrgb(102, 78, 236)
HSLhsl(249, 81%, 62%)
HSVhsv(249, 67%, 93%)
CMYKcmyk(56.8%, 66.9%, 0%, 7.5%)
CIE-LABlab(44.70, 51.47, -76.47)
CIE-LCHlch(44.70, 92.18, 303.94°)
OKLaboklab(54.53% 0.0502 -0.2201)
OKLCHoklch(54.53% 0.226 282.9)
XYZxyz(23.3395, 14.3282, 80.8764)
Luminance0.1433 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664EEC #D4EC4E
analogous
#4E85EC #664EEC #B54EEC
triadic
#664EEC #EC664E #4EEC66
tetradic
#664EEC #EC4E85 #D4EC4E #4EECB5
square
#664EEC #EC4E85 #D4EC4E #4EECB5
split-complementary
#664EEC #ECB54E #85EC4E
monochromatic
#2A13AD #3719E4 #664EEC #9685F2 #C6BDF8

Accessibility & contrast

On white

5.43
#664EEC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#664EEC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664EEC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664EEC#FFFFFF#000000##FFFFFF
##664EEC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FF1
Deuteranopia (green-blind)
#0064E9
Tritanopia (blue-blind)
#1B7797
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #664eec;
/* rgb */ color: rgb(102, 78, 236);
/* oklch */ color: oklch(54.5% 0.226 282.9);
Tailwind
colors: {
  custom: {
    50: '#9e81f3',
    500: '#664eec',
    950: '#000000',
  },
}
SCSS
$custom: #664eec;
$custom-light: #9e81f3;
$custom-dark: #000000;
JSON
{
  "hex": "#664eec",
  "rgb": {
    "r": 102,
    "g": 78,
    "b": 236
  },
  "hsl": {
    "h": 249.114,
    "s": 80.612,
    "l": 61.569
  },
  "oklch": {
    "l": 0.54532,
    "c": 0.22573,
    "h": 282.9
  },
  "luminance": 0.1433
}

Semantic roles & 50–950 ramp

primary
#664EEC
secondary
#DFE8AE
accent
#DD09BD
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664EEC

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

Preview Lab → · Contrast checker → · Palette generator →

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