#664DDE#664DDE

#664DDE is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.2% C 0.210 H 284.6°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#664DDE
RGBrgb(102, 77, 222)
HSLhsl(250, 69%, 59%)
HSVhsv(250, 65%, 87%)
CMYKcmyk(54.1%, 65.3%, 0%, 12.9%)
CIE-LABlab(43.37, 47.88, -70.71)
CIE-LCHlch(43.37, 85.40, 304.10°)
OKLaboklab(53.22% 0.0529 -0.2032)
OKLCHoklch(53.22% 0.21 284.6)
XYZxyz(21.3142, 13.4052, 70.5574)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664DDE #C5DE4D
analogous
#4D7CDE #664DDE #AE4DDE
triadic
#664DDE #DE664D #4DDE66
tetradic
#664DDE #DE4D7C #C5DE4D #4DDEAE
square
#664DDE #DE4D7C #C5DE4D #4DDEAE
split-complementary
#664DDE #DEAE4D #7CDE4D
monochromatic
#311C95 #4125C9 #664DDE #9281E8 #BFB4F1

Accessibility & contrast

On white

5.70
#664DDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#664DDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664DDE
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664DDE#FFFFFF#000000##FFFFFF
##664DDE1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE3
Deuteranopia (green-blind)
#0062DB
Tritanopia (blue-blind)
#31718F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #664dde;
/* rgb */ color: rgb(102, 77, 222);
/* oklch */ color: oklch(53.2% 0.210 284.6);
Tailwind
colors: {
  custom: {
    50: '#9c80e9',
    500: '#664dde',
    950: '#000000',
  },
}
SCSS
$custom: #664dde;
$custom-light: #9c80e9;
$custom-dark: #000000;
JSON
{
  "hex": "#664dde",
  "rgb": {
    "r": 102,
    "g": 77,
    "b": 222
  },
  "hsl": {
    "h": 250.345,
    "s": 68.72,
    "l": 58.627
  },
  "oklch": {
    "l": 0.53222,
    "c": 0.20995,
    "h": 284.6
  },
  "luminance": 0.13406
}

Semantic roles & 50–950 ramp

primary
#664DDE
secondary
#D6E0A7
accent
#EC3CCD
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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