#664ACA#664ACA

#664ACA is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.2% C 0.189 H 287.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#664ACA
RGBrgb(102, 74, 202)
HSLhsl(253, 55%, 54%)
HSVhsv(253, 63%, 79%)
CMYKcmyk(49.5%, 63.4%, 0%, 20.8%)
CIE-LABlab(41.19, 43.69, -62.77)
CIE-LCHlch(41.19, 76.48, 304.84°)
OKLaboklab(51.17% 0.058 -0.1798)
OKLCHoklch(51.17% 0.189 287.9)
XYZxyz(18.5858, 11.9858, 57.1998)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#664ACA #AECA4A
analogous
#4A6ECA #664ACA #A64ACA
triadic
#664ACA #CA664A #4ACA66
tetradic
#664ACA #CA4A6E #AECA4A #4ACAA6
square
#664ACA #CA4A6E #AECA4A #4ACAA6
split-complementary
#664ACA #CAA64A #6ECA4A
monochromatic
#352377 #4A31A6 #664ACA #8E79D8 #B6A9E6

Accessibility & contrast

On white

6.18
#664ACA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#664ACA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #664ACA
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##664ACA#FFFFFF#000000##FFFFFF
##664ACA1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#436983
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #664aca;
/* rgb */ color: rgb(102, 74, 202);
/* oklch */ color: oklch(51.2% 0.189 287.9);
Tailwind
colors: {
  custom: {
    50: '#9a7edb',
    500: '#664aca',
    950: '#000000',
  },
}
SCSS
$custom: #664aca;
$custom-light: #9a7edb;
$custom-dark: #000000;
JSON
{
  "hex": "#664aca",
  "rgb": {
    "r": 102,
    "g": 74,
    "b": 202
  },
  "hsl": {
    "h": 253.125,
    "s": 54.701,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.18894,
    "h": 287.9
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

primary
#664ACA
secondary
#C7D39D
accent
#DE4ABE
background
#F9F7FD
surface
#F2EEFB
border
#CCC9D4
text
#0F0A15
muted
#7E7C83

Preview Lab

Preview with #664ACA

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

Preview Lab → · Contrast checker → · Palette generator →

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