#664DF7#664DF7

#664DF7 is a mid, highly saturated blue. Relative luminance 0.148; OKLCH L 55.3% C 0.240 H 281.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#664DF7
RGBrgb(102, 77, 247)
HSLhsl(249, 91%, 64%)
HSVhsv(249, 69%, 97%)
CMYKcmyk(58.7%, 68.8%, 0%, 3.1%)
CIE-LABlab(45.42, 55.25, -81.47)
CIE-LCHlch(45.42, 98.44, 304.14°)
OKLaboklab(55.33% 0.0493 -0.2347)
OKLCHoklch(55.33% 0.24 281.9)
XYZxyz(24.9166, 14.8462, 89.5303)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664DF7 #DEF74D
analogous
#4D89F7 #664DF7 #BB4DF7
triadic
#664DF7 #F7664D #4DF766
tetradic
#664DF7 #F74D89 #DEF74D #4DF7BB
square
#664DF7 #F74D89 #DEF74D #4DF7BB
split-complementary
#664DF7 #F7BB4D #89F74D
monochromatic
#2409C1 #3412F4 #664DF7 #9888FA #CBC2FC

Accessibility & contrast

On white

5.29
#664DF7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#664DF7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664DF7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664DF7#FFFFFF#000000##FFFFFF
##664DF71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.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: #664df7;
/* rgb */ color: rgb(102, 77, 247);
/* oklch */ color: oklch(55.3% 0.240 281.9);
Tailwind
colors: {
  custom: {
    50: '#a081fb',
    500: '#664df7',
    950: '#000000',
  },
}
SCSS
$custom: #664df7;
$custom-light: #a081fb;
$custom-dark: #000000;
JSON
{
  "hex": "#664df7",
  "rgb": {
    "r": 102,
    "g": 77,
    "b": 247
  },
  "hsl": {
    "h": 248.824,
    "s": 91.398,
    "l": 63.529
  },
  "oklch": {
    "l": 0.55333,
    "c": 0.23985,
    "h": 281.9
  },
  "luminance": 0.14848
}

Semantic roles & 50–950 ramp

primary
#664DF7
secondary
#E5EEB2
accent
#E600C4
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100A18
muted
#7F7C86

Preview Lab

Preview with #664DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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