#965BD2#965BD2

#965BD2 is a mid, vivid violet. Relative luminance 0.186; OKLCH L 59.1% C 0.180 H 304.3°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#965BD2
RGBrgb(150, 91, 210)
HSLhsl(270, 57%, 59%)
HSVhsv(270, 57%, 82%)
CMYKcmyk(28.6%, 56.7%, 0%, 17.6%)
CIE-LABlab(50.24, 46.98, -52.52)
CIE-LCHlch(50.24, 70.47, 311.81°)
OKLaboklab(59.09% 0.1013 -0.1482)
OKLCHoklch(59.09% 0.18 304.3)
XYZxyz(27.9491, 18.6195, 63.0818)
Luminance0.1862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965BD2 #97D25B
analogous
#5B5CD2 #965BD2 #D25BD2
triadic
#965BD2 #D2965B #5BD296
tetradic
#965BD2 #D25B5C #97D25B #5BD2D2
square
#965BD2 #D25B5C #97D25B #5BD2D2
split-complementary
#965BD2 #D2D25B #5CD25B
monochromatic
#59268C #7734BC #965BD2 #B58BDF #D3BBEC

Accessibility & contrast

On white

4.45
#965BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#965BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #965BD2
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965BD2#FFFFFF#000000##000000
##965BD21.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B76D6
Deuteranopia (green-blind)
#4278CF
Tritanopia (blue-blind)
#8B728E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #965bd2;
/* rgb */ color: rgb(150, 91, 210);
/* oklch */ color: oklch(59.1% 0.180 304.3);
Tailwind
colors: {
  custom: {
    50: '#b88ce0',
    500: '#965bd2',
    950: '#000000',
  },
}
SCSS
$custom: #965bd2;
$custom-light: #b88ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#965bd2",
  "rgb": {
    "r": 150,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 269.748,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.59091,
    "c": 0.17952,
    "h": 304.3
  },
  "luminance": 0.18619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #965BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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