#664EBD#664EBD

#664EBD is a mid, vivid violet. Relative luminance 0.119; OKLCH L 50.8% C 0.167 H 289.0°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#664EBD
RGBrgb(102, 78, 189)
HSLhsl(253, 46%, 52%)
HSVhsv(253, 59%, 74%)
CMYKcmyk(46%, 58.7%, 0%, 25.9%)
CIE-LABlab(41.13, 37.57, -55.31)
CIE-LCHlch(41.13, 66.86, 304.19°)
OKLaboklab(50.82% 0.0544 -0.1579)
OKLCHoklch(50.82% 0.167 289)
XYZxyz(17.3866, 11.9470, 49.5242)
Luminance0.1195 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664EBD #A5BD4E
analogous
#4E6EBD #664EBD #9E4EBD
triadic
#664EBD #BD664E #4EBD66
tetradic
#664EBD #BD4E6E #A5BD4E #4EBD9E
square
#664EBD #BD4E6E #A5BD4E #4EBD9E
split-complementary
#664EBD #BD9E4E #6EBD4E
monochromatic
#362769 #4C3896 #664EBD #8D7BCE #B3A7DE

Accessibility & contrast

On white

6.20
#664EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#664EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664EBD
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664EBD#FFFFFF#000000##FFFFFF
##664EBD1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C1
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#4B677E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #664ebd;
/* rgb */ color: rgb(102, 78, 189);
/* oklch */ color: oklch(50.8% 0.167 289.0);
Tailwind
colors: {
  custom: {
    50: '#9880d2',
    500: '#664ebd',
    950: '#000000',
  },
}
SCSS
$custom: #664ebd;
$custom-light: #9880d2;
$custom-dark: #000000;
JSON
{
  "hex": "#664ebd",
  "rgb": {
    "r": 102,
    "g": 78,
    "b": 189
  },
  "hsl": {
    "h": 252.973,
    "s": 45.679,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50823,
    "c": 0.16698,
    "h": 289
  },
  "luminance": 0.11948
}

Semantic roles & 50–950 ramp

primary
#664EBD
secondary
#C1CC9B
accent
#D552B9
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #664EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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