#664FBF#664FBF

#664FBF is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.1% C 0.168 H 288.4°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#664FBF
RGBrgb(102, 79, 191)
HSLhsl(252, 47%, 53%)
HSVhsv(252, 59%, 75%)
CMYKcmyk(46.6%, 58.6%, 0%, 25.1%)
CIE-LABlab(41.50, 37.57, -55.88)
CIE-LCHlch(41.50, 67.34, 303.91°)
OKLaboklab(51.14% 0.0532 -0.1596)
OKLCHoklch(51.14% 0.168 288.4)
XYZxyz(17.6767, 12.1776, 50.6992)
Luminance0.1218 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FBF #A8BF4F
analogous
#4F70BF #664FBF #9E4FBF
triadic
#664FBF #BF664F #4FBF66
tetradic
#664FBF #BF4F70 #A8BF4F #4FBF9E
square
#664FBF #BF4F70 #A8BF4F #4FBF9E
split-complementary
#664FBF #BF9E4F #70BF4F
monochromatic
#36276C #4C3899 #664FBF #8D7CCF #B4A9E0

Accessibility & contrast

On white

6.11
#664FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#664FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664FBF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664FBF#FFFFFF#000000##FFFFFF
##664FBF1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #664fbf;
/* rgb */ color: rgb(102, 79, 191);
/* oklch */ color: oklch(51.1% 0.168 288.4);
Tailwind
colors: {
  custom: {
    50: '#9881d3',
    500: '#664fbf',
    950: '#000000',
  },
}
SCSS
$custom: #664fbf;
$custom-light: #9881d3;
$custom-dark: #000000;
JSON
{
  "hex": "#664fbf",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 252.321,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51135,
    "c": 0.1682,
    "h": 288.4
  },
  "luminance": 0.12178
}

Semantic roles & 50–950 ramp

primary
#664FBF
secondary
#C3CD9D
accent
#D651BB
background
#F9F7FD
surface
#F2EEFA
border
#CCC9D3
text
#0E0A14
muted
#7E7C83

Preview Lab

Preview with #664FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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