#965DCD#965DCD

#965DCD is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.1% C 0.171 H 305.3°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#965DCD
RGBrgb(150, 93, 205)
HSLhsl(271, 53%, 58%)
HSVhsv(271, 55%, 80%)
CMYKcmyk(26.8%, 54.6%, 0%, 19.6%)
CIE-LABlab(50.36, 44.71, -49.47)
CIE-LCHlch(50.36, 66.68, 312.10°)
OKLaboklab(59.09% 0.0985 -0.1393)
OKLCHoklch(59.09% 0.171 305.3)
XYZxyz(27.5091, 18.7207, 59.9100)
Luminance0.1872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965DCD #94CD5D
analogous
#5E5DCD #965DCD #CD5DCC
triadic
#965DCD #CD965D #5DCD96
tetradic
#965DCD #CD5E5D #94CD5D #5DCCCD
square
#965DCD #CD5E5D #94CD5D #5DCCCD
split-complementary
#965DCD #CCCD5D #5DCD5E
monochromatic
#592986 #7838B5 #965DCD #B48CDB #D3BBEA

Accessibility & contrast

On white

4.43
#965DCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#965DCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965DCD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965DCD#FFFFFF#000000##000000
##965DCD1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3676D1
Deuteranopia (green-blind)
#4978CA
Tritanopia (blue-blind)
#8D728C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #965dcd;
/* rgb */ color: rgb(150, 93, 205);
/* oklch */ color: oklch(59.1% 0.171 305.3);
Tailwind
colors: {
  custom: {
    50: '#b88ddd',
    500: '#965dcd',
    950: '#000000',
  },
}
SCSS
$custom: #965dcd;
$custom-light: #b88ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#965dcd",
  "rgb": {
    "r": 150,
    "g": 93,
    "b": 205
  },
  "hsl": {
    "h": 270.536,
    "s": 52.83,
    "l": 58.431
  },
  "oklch": {
    "l": 0.59086,
    "c": 0.17064,
    "h": 305.3
  },
  "luminance": 0.18721
}

Semantic roles & 50–950 ramp

primary
#965DCD
secondary
#C3D9AD
accent
#DC4C93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #965DCD

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

Preview Lab → · Contrast checker → · Palette generator →

#965DCD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva