#664EE7#664EE7

#664EE7 is a mid, highly saturated blue. Relative luminance 0.140; OKLCH L 54.1% C 0.220 H 283.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#664EE7
RGBrgb(102, 78, 231)
HSLhsl(249, 76%, 61%)
HSVhsv(249, 66%, 91%)
CMYKcmyk(55.8%, 66.2%, 0%, 9.4%)
CIE-LABlab(44.29, 49.99, -74.31)
CIE-LCHlch(44.29, 89.56, 303.93°)
OKLaboklab(54.11% 0.0509 -0.2137)
OKLCHoklch(54.11% 0.22 283.4)
XYZxyz(22.6233, 14.0417, 77.1040)
Luminance0.1404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664EE7 #CFE74E
analogous
#4E82E7 #664EE7 #B34EE7
triadic
#664EE7 #E7664E #4EE766
tetradic
#664EE7 #E74E82 #CFE74E #4EE7B3
square
#664EE7 #E74E82 #CFE74E #4EE7B3
split-complementary
#664EE7 #E7B34E #82E74E
monochromatic
#2D16A4 #3B1EDA #664EE7 #9584EE #C3BAF6

Accessibility & contrast

On white

5.51
#664EE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#664EE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664EE7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664EE7#FFFFFF#000000##FFFFFF
##664EE71.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DEC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#257594
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #664ee7;
/* rgb */ color: rgb(102, 78, 231);
/* oklch */ color: oklch(54.1% 0.220 283.4);
Tailwind
colors: {
  custom: {
    50: '#9d81f0',
    500: '#664ee7',
    950: '#000000',
  },
}
SCSS
$custom: #664ee7;
$custom-light: #9d81f0;
$custom-dark: #000000;
JSON
{
  "hex": "#664ee7",
  "rgb": {
    "r": 102,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 249.412,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.54113,
    "c": 0.21972,
    "h": 283.4
  },
  "luminance": 0.14043
}

Semantic roles & 50–950 ramp

primary
#664EE7
secondary
#DCE5AB
accent
#D80DB8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #664EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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