#964DDD#964DDD

#964DDD is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.9% C 0.211 H 303.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#964DDD
RGBrgb(150, 77, 221)
HSLhsl(270, 68%, 58%)
HSVhsv(270, 65%, 87%)
CMYKcmyk(32.1%, 65.2%, 0%, 13.3%)
CIE-LABlab(48.28, 56.75, -61.95)
CIE-LCHlch(48.28, 84.01, 312.49°)
OKLaboklab(57.89% 0.1174 -0.1758)
OKLCHoklch(57.89% 0.211 303.7)
XYZxyz(28.2797, 17.0123, 70.1865)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964DDD #94DD4D
analogous
#4E4DDD #964DDD #DD4DDC
triadic
#964DDD #DD964D #4DDD96
tetradic
#964DDD #DD4E4D #94DD4D #4DDCDD
square
#964DDD #DD4E4D #94DD4D #4DDCDD
split-complementary
#964DDD #DCDD4D #4DDD4E
monochromatic
#591C93 #7826C7 #964DDD #B480E7 #D3B4F1

Accessibility & contrast

On white

4.77
#964DDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#964DDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964DDD
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964DDD#FFFFFF#000000##FFFFFF
##964DDD1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#1B72DA
Tritanopia (blue-blind)
#886D8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #964ddd;
/* rgb */ color: rgb(150, 77, 221);
/* oklch */ color: oklch(57.9% 0.211 303.7);
Tailwind
colors: {
  custom: {
    50: '#ba83e8',
    500: '#964ddd',
    950: '#000000',
  },
}
SCSS
$custom: #964ddd;
$custom-light: #ba83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#964ddd",
  "rgb": {
    "r": 150,
    "g": 77,
    "b": 221
  },
  "hsl": {
    "h": 270.417,
    "s": 67.925,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57886,
    "c": 0.21144,
    "h": 303.7
  },
  "luminance": 0.17012
}

Semantic roles & 50–950 ramp

primary
#964DDD
secondary
#C3DFA6
accent
#EB3D93
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964DDD

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

Preview Lab → · Contrast checker → · Palette generator →

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