#965CD2#965CD2

#965CD2 is a mid, vivid violet. Relative luminance 0.188; OKLCH L 59.2% C 0.178 H 304.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#965CD2
RGBrgb(150, 92, 210)
HSLhsl(269, 57%, 59%)
HSVhsv(269, 56%, 82%)
CMYKcmyk(28.6%, 56.2%, 0%, 17.6%)
CIE-LABlab(50.44, 46.44, -52.20)
CIE-LCHlch(50.44, 69.87, 311.66°)
OKLaboklab(59.24% 0.1 -0.1473)
OKLCHoklch(59.24% 0.178 304.2)
XYZxyz(28.0351, 18.7916, 63.1105)
Luminance0.1879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965CD2 #98D25C
analogous
#5C5DD2 #965CD2 #D15CD2
triadic
#965CD2 #D2965C #5CD296
tetradic
#965CD2 #D25C5D #98D25C #5CD2D1
square
#965CD2 #D25C5D #98D25C #5CD2D1
split-complementary
#965CD2 #D2D15C #5DD25C
monochromatic
#59278D #7734BD #965CD2 #B58CDF #D4BCEC

Accessibility & contrast

On white

4.41
#965CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#965CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965CD2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965CD2#FFFFFF#000000##000000
##965CD21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E77D6
Deuteranopia (green-blind)
#4478CF
Tritanopia (blue-blind)
#8B738E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #965cd2;
/* rgb */ color: rgb(150, 92, 210);
/* oklch */ color: oklch(59.2% 0.178 304.2);
Tailwind
colors: {
  custom: {
    50: '#b88ce0',
    500: '#965cd2',
    950: '#000000',
  },
}
SCSS
$custom: #965cd2;
$custom-light: #b88ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#965cd2",
  "rgb": {
    "r": 150,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 269.492,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.59241,
    "c": 0.17802,
    "h": 304.2
  },
  "luminance": 0.18791
}

Semantic roles & 50–950 ramp

primary
#965CD2
secondary
#C5DCAE
accent
#E04895
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #965CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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