#964CDA#964CDA

#964CDA is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.6% C 0.210 H 304.5°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#964CDA
RGBrgb(150, 76, 218)
HSLhsl(271, 66%, 58%)
HSVhsv(271, 65%, 85%)
CMYKcmyk(31.2%, 65.1%, 0%, 14.5%)
CIE-LABlab(47.90, 56.53, -60.85)
CIE-LCHlch(47.90, 83.05, 312.89°)
OKLaboklab(57.55% 0.1188 -0.1726)
OKLCHoklch(57.55% 0.21 304.5)
XYZxyz(27.8142, 16.7150, 68.0771)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964CDA #90DA4C
analogous
#4F4CDA #964CDA #DA4CD7
triadic
#964CDA #DA964C #4CDA96
tetradic
#964CDA #DA4F4C #90DA4C #4CD7DA
square
#964CDA #DA4F4C #90DA4C #4CD7DA
split-complementary
#964CDA #D7DA4C #4CDA4F
monochromatic
#581D8E #7828C1 #964CDA #B47FE4 #D2B1EF

Accessibility & contrast

On white

4.84
#964CDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#964CDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964CDA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964CDA#FFFFFF#000000##FFFFFF
##964CDA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#2072D7
Tritanopia (blue-blind)
#896B8D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #964cda;
/* rgb */ color: rgb(150, 76, 218);
/* oklch */ color: oklch(57.6% 0.210 304.5);
Tailwind
colors: {
  custom: {
    50: '#ba83e6',
    500: '#964cda',
    950: '#000000',
  },
}
SCSS
$custom: #964cda;
$custom-light: #ba83e6;
$custom-dark: #000000;
JSON
{
  "hex": "#964cda",
  "rgb": {
    "r": 150,
    "g": 76,
    "b": 218
  },
  "hsl": {
    "h": 271.268,
    "s": 65.741,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57552,
    "c": 0.20954,
    "h": 304.5
  },
  "luminance": 0.16715
}

Semantic roles & 50–950 ramp

primary
#964CDA
secondary
#C0DDA4
accent
#E93F90
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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