#965DCC#965DCC

#965DCC is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.0% C 0.169 H 305.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#965DCC
RGBrgb(150, 93, 204)
HSLhsl(271, 52%, 58%)
HSVhsv(271, 54%, 80%)
CMYKcmyk(26.5%, 54.4%, 0%, 20%)
CIE-LABlab(50.30, 44.47, -48.99)
CIE-LCHlch(50.30, 66.17, 312.23°)
OKLaboklab(59.03% 0.0985 -0.1379)
OKLCHoklch(59.03% 0.169 305.5)
XYZxyz(27.3888, 18.6726, 59.2763)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965DCC #93CC5D
analogous
#5E5DCC #965DCC #CC5DCA
triadic
#965DCC #CC965D #5DCC96
tetradic
#965DCC #CC5E5D #93CC5D #5DCACC
square
#965DCC #CC5E5D #93CC5D #5DCACC
split-complementary
#965DCC #CACC5D #5DCC5E
monochromatic
#592A85 #7838B3 #965DCC #B48CDB #D2BAE9

Accessibility & contrast

On white

4.44
#965DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#965DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965DCC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965DCC#FFFFFF#000000##000000
##965DCC1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3776D0
Deuteranopia (green-blind)
#4A78C9
Tritanopia (blue-blind)
#8D728C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #965dcc;
/* rgb */ color: rgb(150, 93, 204);
/* oklch */ color: oklch(59.0% 0.169 305.5);
Tailwind
colors: {
  custom: {
    50: '#b88ddc',
    500: '#965dcc',
    950: '#000000',
  },
}
SCSS
$custom: #965dcc;
$custom-light: #b88ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#965dcc",
  "rgb": {
    "r": 150,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 270.811,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.59026,
    "c": 0.16946,
    "h": 305.5
  },
  "luminance": 0.18672
}

Semantic roles & 50–950 ramp

primary
#965DCC
secondary
#C2D9AC
accent
#DC4C92
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #965DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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