#964DDB#964DDB

#964DDB is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.209 H 304.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#964DDB
RGBrgb(150, 77, 219)
HSLhsl(271, 66%, 58%)
HSVhsv(271, 65%, 86%)
CMYKcmyk(31.5%, 64.8%, 0%, 14.1%)
CIE-LABlab(48.14, 56.28, -61.03)
CIE-LCHlch(48.14, 83.01, 312.68°)
OKLaboklab(57.75% 0.1176 -0.1731)
OKLCHoklch(57.75% 0.209 304.2)
XYZxyz(28.0149, 16.9064, 68.7915)
Luminance0.1691 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#964DDB #92DB4D
analogous
#4F4DDB #964DDB #DB4DD9
triadic
#964DDB #DB964D #4DDB96
tetradic
#964DDB #DB4F4D #92DB4D #4DD9DB
square
#964DDB #DB4F4D #92DB4D #4DD9DB
split-complementary
#964DDB #D9DB4D #4DDB4F
monochromatic
#581D90 #7827C3 #964DDB #B480E5 #D2B3F0

Accessibility & contrast

On white

4.79
#964DDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#964DDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #964DDB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##964DDB#FFFFFF#000000##FFFFFF
##964DDB1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DF
Deuteranopia (green-blind)
#2072D8
Tritanopia (blue-blind)
#896C8D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #964ddb;
/* rgb */ color: rgb(150, 77, 219);
/* oklch */ color: oklch(57.7% 0.209 304.2);
Tailwind
colors: {
  custom: {
    50: '#ba83e7',
    500: '#964ddb',
    950: '#000000',
  },
}
SCSS
$custom: #964ddb;
$custom-light: #ba83e7;
$custom-dark: #000000;
JSON
{
  "hex": "#964ddb",
  "rgb": {
    "r": 150,
    "g": 77,
    "b": 219
  },
  "hsl": {
    "h": 270.845,
    "s": 66.355,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57748,
    "c": 0.2093,
    "h": 304.2
  },
  "luminance": 0.16906
}

Semantic roles & 50–950 ramp

primary
#964DDB
secondary
#C1DEA6
accent
#E93F91
background
#FBF8FE
surface
#F7EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #964DDB

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

Preview Lab → · Contrast checker → · Palette generator →

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