#664CF7#664CF7

#664CF7 is a mid, highly saturated blue. Relative luminance 0.147; OKLCH L 55.2% C 0.241 H 282.0°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#664CF7
RGBrgb(102, 76, 247)
HSLhsl(249, 91%, 63%)
HSVhsv(249, 69%, 97%)
CMYKcmyk(58.7%, 69.2%, 0%, 3.1%)
CIE-LABlab(45.23, 55.78, -81.78)
CIE-LCHlch(45.23, 98.99, 304.30°)
OKLaboklab(55.2% 0.0501 -0.2356)
OKLCHoklch(55.2% 0.241 282)
XYZxyz(24.8472, 14.7074, 89.5071)
Luminance0.1471 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664CF7 #DDF74C
analogous
#4C87F7 #664CF7 #BB4CF7
triadic
#664CF7 #F7664C #4CF766
tetradic
#664CF7 #F74C87 #DDF74C #4CF7BB
square
#664CF7 #F74C87 #DDF74C #4CF7BB
split-complementary
#664CF7 #F7BB4C #87F74C
monochromatic
#2409C0 #3411F4 #664CF7 #9887FA #CAC1FC

Accessibility & contrast

On white

5.33
#664CF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#664CF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664CF7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664CF7#FFFFFF#000000##FFFFFF
##664CF71.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071FC
Deuteranopia (green-blind)
#0065F4
Tritanopia (blue-blind)
#007A9C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #664cf7;
/* rgb */ color: rgb(102, 76, 247);
/* oklch */ color: oklch(55.2% 0.241 282.0);
Tailwind
colors: {
  custom: {
    50: '#a080fb',
    500: '#664cf7',
    950: '#000000',
  },
}
SCSS
$custom: #664cf7;
$custom-light: #a080fb;
$custom-dark: #000000;
JSON
{
  "hex": "#664cf7",
  "rgb": {
    "r": 102,
    "g": 76,
    "b": 247
  },
  "hsl": {
    "h": 249.123,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.55196,
    "c": 0.2409,
    "h": 282
  },
  "luminance": 0.14709
}

Semantic roles & 50–950 ramp

primary
#664CF7
secondary
#E5EEB1
accent
#E600C3
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #664CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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