#964DDF#964DDF

#964DDF is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.0% C 0.214 H 303.3°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#964DDF
RGBrgb(150, 77, 223)
HSLhsl(270, 70%, 59%)
HSVhsv(270, 65%, 87%)
CMYKcmyk(32.7%, 65.5%, 0%, 12.5%)
CIE-LABlab(48.41, 57.22, -62.87)
CIE-LCHlch(48.41, 85.01, 312.31°)
OKLaboklab(58.03% 0.1172 -0.1785)
OKLCHoklch(58.03% 0.214 303.3)
XYZxyz(28.5478, 17.1195, 71.5982)
Luminance0.1712 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964DDF #96DF4D
analogous
#4D4DDF #964DDF #DF4DDF
triadic
#964DDF #DF964D #4DDF96
tetradic
#964DDF #DF4D4D #96DF4D #4DDFDF
square
#964DDF #DF4D4D #96DF4D #4DDFDF
split-complementary
#964DDF #DFDF4D #4DDF4D
monochromatic
#591B97 #7724CA #964DDF #B581E8 #D3B5F2

Accessibility & contrast

On white

4.75
#964DDF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#964DDF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964DDF
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964DDF#FFFFFF#000000##FFFFFF
##964DDF1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#1573DC
Tritanopia (blue-blind)
#886D90
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #964ddf;
/* rgb */ color: rgb(150, 77, 223);
/* oklch */ color: oklch(58.0% 0.214 303.3);
Tailwind
colors: {
  custom: {
    50: '#ba83ea',
    500: '#964ddf',
    950: '#000000',
  },
}
SCSS
$custom: #964ddf;
$custom-light: #ba83ea;
$custom-dark: #000000;
JSON
{
  "hex": "#964ddf",
  "rgb": {
    "r": 150,
    "g": 77,
    "b": 223
  },
  "hsl": {
    "h": 270,
    "s": 69.524,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58026,
    "c": 0.21358,
    "h": 303.3
  },
  "luminance": 0.17119
}

Semantic roles & 50–950 ramp

primary
#964DDF
secondary
#C4E1A7
accent
#EC3B94
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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