#664FBE#664FBE

#664FBE is a mid, vivid violet. Relative luminance 0.121; OKLCH L 51.1% C 0.167 H 288.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#664FBE
RGBrgb(102, 79, 190)
HSLhsl(252, 46%, 53%)
HSVhsv(252, 58%, 75%)
CMYKcmyk(46.3%, 58.4%, 0%, 25.5%)
CIE-LABlab(41.43, 37.28, -55.41)
CIE-LCHlch(41.43, 66.78, 303.93°)
OKLaboklab(51.06% 0.0532 -0.1582)
OKLCHoklch(51.06% 0.167 288.6)
XYZxyz(17.5671, 12.1338, 50.1217)
Luminance0.1213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FBE #A7BE4F
analogous
#4F70BE #664FBE #9D4FBE
triadic
#664FBE #BE664F #4FBE66
tetradic
#664FBE #BE4F70 #A7BE4F #4FBE9D
square
#664FBE #BE4F70 #A7BE4F #4FBE9D
split-complementary
#664FBE #BE9D4F #70BE4F
monochromatic
#36286B #4C3898 #664FBE #8D7CCF #B4A8DF

Accessibility & contrast

On white

6.13
#664FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#664FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664FBE
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664FBE#FFFFFF#000000##FFFFFF
##664FBE1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C2
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#4A687F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #664fbe;
/* rgb */ color: rgb(102, 79, 190);
/* oklch */ color: oklch(51.1% 0.167 288.6);
Tailwind
colors: {
  custom: {
    50: '#9881d2',
    500: '#664fbe',
    950: '#000000',
  },
}
SCSS
$custom: #664fbe;
$custom-light: #9881d2;
$custom-dark: #000000;
JSON
{
  "hex": "#664fbe",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 252.432,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.51063,
    "c": 0.16689,
    "h": 288.6
  },
  "luminance": 0.12134
}

Semantic roles & 50–950 ramp

primary
#664FBE
secondary
#C2CC9C
accent
#D652BA
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #664FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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