#664FBC#664FBC

#664FBC is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.9% C 0.164 H 288.9°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#664FBC
RGBrgb(102, 79, 188)
HSLhsl(253, 45%, 52%)
HSVhsv(253, 58%, 74%)
CMYKcmyk(45.7%, 58%, 0%, 26.3%)
CIE-LABlab(41.29, 36.69, -54.47)
CIE-LCHlch(41.29, 65.67, 303.97°)
OKLaboklab(50.92% 0.0533 -0.1554)
OKLCHoklch(50.92% 0.164 288.9)
XYZxyz(17.3500, 12.0469, 48.9783)
Luminance0.1205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664FBC #A5BC4F
analogous
#4F6EBC #664FBC #9D4FBC
triadic
#664FBC #BC664F #4FBC66
tetradic
#664FBC #BC4F6E #A5BC4F #4FBC9D
square
#664FBC #BC4F6E #A5BC4F #4FBC9D
split-complementary
#664FBC #BC9D4F #6EBC4F
monochromatic
#362869 #4C3995 #664FBC #8D7BCD #B3A8DE

Accessibility & contrast

On white

6.16
#664FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#664FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664FBC
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664FBC#FFFFFF#000000##FFFFFF
##664FBC1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064C0
Deuteranopia (green-blind)
#055FBA
Tritanopia (blue-blind)
#4B677E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #664fbc;
/* rgb */ color: rgb(102, 79, 188);
/* oklch */ color: oklch(50.9% 0.164 288.9);
Tailwind
colors: {
  custom: {
    50: '#9881d1',
    500: '#664fbc',
    950: '#000000',
  },
}
SCSS
$custom: #664fbc;
$custom-light: #9881d1;
$custom-dark: #000000;
JSON
{
  "hex": "#664fbc",
  "rgb": {
    "r": 102,
    "g": 79,
    "b": 188
  },
  "hsl": {
    "h": 252.661,
    "s": 44.856,
    "l": 52.353
  },
  "oklch": {
    "l": 0.50918,
    "c": 0.16427,
    "h": 288.9
  },
  "luminance": 0.12048
}

Semantic roles & 50–950 ramp

primary
#664FBC
secondary
#C1CB9C
accent
#D553B9
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #664FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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