#664EDE#664EDE

#664EDE is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.4% C 0.209 H 284.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#664EDE
RGBrgb(102, 78, 222)
HSLhsl(250, 69%, 59%)
HSVhsv(250, 65%, 87%)
CMYKcmyk(54.1%, 64.9%, 0%, 12.9%)
CIE-LABlab(43.58, 47.32, -70.37)
CIE-LCHlch(43.58, 84.80, 303.92°)
OKLaboklab(53.37% 0.052 -0.2022)
OKLCHoklch(53.37% 0.209 284.4)
XYZxyz(21.3847, 13.5463, 70.5809)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664EDE #C6DE4E
analogous
#4E7EDE #664EDE #AE4EDE
triadic
#664EDE #DE664E #4EDE66
tetradic
#664EDE #DE4E7E #C6DE4E #4EDEAE
square
#664EDE #DE4E7E #C6DE4E #4EDEAE
split-complementary
#664EDE #DEAE4E #7EDE4E
monochromatic
#301C96 #4126C9 #664EDE #9382E8 #BFB5F1

Accessibility & contrast

On white

5.66
#664EDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#664EDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664EDE
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664EDE#FFFFFF#000000##FFFFFF
##664EDE1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE2
Deuteranopia (green-blind)
#0062DB
Tritanopia (blue-blind)
#31728F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #664ede;
/* rgb */ color: rgb(102, 78, 222);
/* oklch */ color: oklch(53.4% 0.209 284.4);
Tailwind
colors: {
  custom: {
    50: '#9c81e9',
    500: '#664ede',
    950: '#000000',
  },
}
SCSS
$custom: #664ede;
$custom-light: #9c81e9;
$custom-dark: #000000;
JSON
{
  "hex": "#664ede",
  "rgb": {
    "r": 102,
    "g": 78,
    "b": 222
  },
  "hsl": {
    "h": 250,
    "s": 68.571,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53372,
    "c": 0.20877,
    "h": 284.4
  },
  "luminance": 0.13547
}

Semantic roles & 50–950 ramp

primary
#664EDE
secondary
#D7E0A8
accent
#EB3CCE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#0F0A16
muted
#7F7C84

Preview Lab

Preview with #664EDE

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

Preview Lab → · Contrast checker → · Palette generator →

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