#965BB2#965BB2

#965BB2 is a mid, vivid purple. Relative luminance 0.172; OKLCH L 57.2% C 0.142 H 314.0°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#965BB2
RGBrgb(150, 91, 178)
HSLhsl(281, 36%, 53%)
HSVhsv(281, 49%, 70%)
CMYKcmyk(15.7%, 48.9%, 0%, 30.2%)
CIE-LABlab(48.49, 39.61, -36.84)
CIE-LCHlch(48.49, 54.09, 317.07°)
OKLaboklab(57.23% 0.0989 -0.1025)
OKLCHoklch(57.23% 0.142 314)
XYZxyz(24.3533, 17.1812, 44.1443)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965BB2 #77B25B
analogous
#6A5BB2 #965BB2 #B25BA2
triadic
#965BB2 #B2965B #5BB296
tetradic
#965BB2 #B26A5B #77B25B #5BA2B2
square
#965BB2 #B26A5B #77B25B #5BA2B2
split-complementary
#965BB2 #A2B25B #5BB26A
monochromatic
#532F64 #75428D #965BB2 #B185C6 #CBAED9

Accessibility & contrast

On white

4.73
#965BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#965BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #965BB2
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965BB2#FFFFFF#000000##FFFFFF
##965BB21.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#5975B0
Tritanopia (blue-blind)
#94687E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #965bb2;
/* rgb */ color: rgb(150, 91, 178);
/* oklch */ color: oklch(57.2% 0.142 314.0);
Tailwind
colors: {
  custom: {
    50: '#b78bc9',
    500: '#965bb2',
    950: '#000000',
  },
}
SCSS
$custom: #965bb2;
$custom-light: #b78bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#965bb2",
  "rgb": {
    "r": 150,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 280.69,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.57231,
    "c": 0.14239,
    "h": 314
  },
  "luminance": 0.17181
}

Semantic roles & 50–950 ramp

primary
#965BB2
secondary
#AEC7A2
accent
#CC5C80
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #965BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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