#964ECA#964ECA

#964ECA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.7% C 0.190 H 308.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#964ECA
RGBrgb(150, 78, 202)
HSLhsl(275, 54%, 55%)
HSVhsv(275, 61%, 79%)
CMYKcmyk(25.7%, 61.4%, 0%, 20.8%)
CIE-LABlab(47.23, 51.86, -52.75)
CIE-LCHlch(47.23, 73.97, 314.51°)
OKLaboklab(56.74% 0.1174 -0.1489)
OKLCHoklch(56.74% 0.19 308.3)
XYZxyz(25.9606, 16.1975, 57.6245)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964ECA #82CA4E
analogous
#584ECA #964ECA #CA4EC0
triadic
#964ECA #CA964E #4ECA96
tetradic
#964ECA #CA584E #82CA4E #4EC0CA
square
#964ECA #CA584E #82CA4E #4EC0CA
split-complementary
#964ECA #C0CA4E #4ECA58
monochromatic
#562479 #7732A8 #964ECA #B27DD8 #CEACE6

Accessibility & contrast

On white

4.95
#964ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#964ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964ECA
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964ECA#FFFFFF#000000##FFFFFF
##964ECA1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#116DCE
Deuteranopia (green-blind)
#3A71C7
Tritanopia (blue-blind)
#8E6685
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #964eca;
/* rgb */ color: rgb(150, 78, 202);
/* oklch */ color: oklch(56.7% 0.190 308.3);
Tailwind
colors: {
  custom: {
    50: '#b883db',
    500: '#964eca',
    950: '#000000',
  },
}
SCSS
$custom: #964eca;
$custom-light: #b883db;
$custom-dark: #000000;
JSON
{
  "hex": "#964eca",
  "rgb": {
    "r": 150,
    "g": 78,
    "b": 202
  },
  "hsl": {
    "h": 274.839,
    "s": 53.913,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56742,
    "c": 0.18959,
    "h": 308.3
  },
  "luminance": 0.16197
}

Semantic roles & 50–950 ramp

primary
#964ECA
secondary
#B6D4A0
accent
#DD4B88
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #964ECA

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

Preview Lab → · Contrast checker → · Palette generator →

#964ECA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva