#664ABC#664ABC

#664ABC is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.1% C 0.171 H 290.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#664ABC
RGBrgb(102, 74, 188)
HSLhsl(255, 46%, 51%)
HSVhsv(255, 61%, 74%)
CMYKcmyk(45.7%, 60.6%, 0%, 26.3%)
CIE-LABlab(40.17, 39.62, -56.28)
CIE-LCHlch(40.17, 68.83, 305.15°)
OKLaboklab(50.09% 0.0589 -0.1607)
OKLCHoklch(50.09% 0.171 290.1)
XYZxyz(17.0028, 11.3526, 48.8626)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664ABC #A0BC4A
analogous
#4A67BC #664ABC #9F4ABC
triadic
#664ABC #BC664A #4ABC66
tetradic
#664ABC #BC4A67 #A0BC4A #4ABC9F
square
#664ABC #BC4A67 #A0BC4A #4ABC9F
split-complementary
#664ABC #BC9F4A #67BC4A
monochromatic
#352666 #4D3693 #664ABC #8C77CD #B2A3DD

Accessibility & contrast

On white

6.42
#664ABC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#664ABC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664ABC
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664ABC#FFFFFF#000000##FFFFFF
##664ABC1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#005CBA
Tritanopia (blue-blind)
#4C647C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #664abc;
/* rgb */ color: rgb(102, 74, 188);
/* oklch */ color: oklch(50.1% 0.171 290.1);
Tailwind
colors: {
  custom: {
    50: '#987ed1',
    500: '#664abc',
    950: '#000000',
  },
}
SCSS
$custom: #664abc;
$custom-light: #987ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#664abc",
  "rgb": {
    "r": 102,
    "g": 74,
    "b": 188
  },
  "hsl": {
    "h": 254.737,
    "s": 45.968,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50094,
    "c": 0.17121,
    "h": 290.1
  },
  "luminance": 0.11353
}

Semantic roles & 50–950 ramp

primary
#664ABC
secondary
#BECA98
accent
#D652B5
background
#F9F7FC
surface
#F2EEF9
border
#CCC9D2
text
#0E0A14
muted
#7E7C82

Preview Lab

Preview with #664ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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