#965EB2#965EB2

#965EB2 is a mid, vivid purple. Relative luminance 0.177; OKLCH L 57.7% C 0.137 H 313.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#965EB2
RGBrgb(150, 94, 178)
HSLhsl(280, 35%, 53%)
HSVhsv(280, 47%, 70%)
CMYKcmyk(15.7%, 47.2%, 0%, 30.2%)
CIE-LABlab(49.14, 37.95, -35.82)
CIE-LCHlch(49.14, 52.18, 316.65°)
OKLaboklab(57.71% 0.0946 -0.0995)
OKLCHoklch(57.71% 0.137 313.5)
XYZxyz(24.6149, 17.7044, 44.2315)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965EB2 #7AB25E
analogous
#6C5EB2 #965EB2 #B25EA4
triadic
#965EB2 #B2965E #5EB296
tetradic
#965EB2 #B26C5E #7AB25E #5EA4B2
square
#965EB2 #B26C5E #7AB25E #5EA4B2
split-complementary
#965EB2 #A4B25E #5EB26C
monochromatic
#543065 #76448F #965EB2 #B187C6 #CCB1DA

Accessibility & contrast

On white

4.62
#965EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#965EB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #965EB2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965EB2#FFFFFF#000000##FFFFFF
##965EB21.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C72B5
Deuteranopia (green-blind)
#5C76B0
Tritanopia (blue-blind)
#946B80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #965eb2;
/* rgb */ color: rgb(150, 94, 178);
/* oklch */ color: oklch(57.7% 0.137 313.5);
Tailwind
colors: {
  custom: {
    50: '#b68dc9',
    500: '#965eb2',
    950: '#000000',
  },
}
SCSS
$custom: #965eb2;
$custom-light: #b68dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#965eb2",
  "rgb": {
    "r": 150,
    "g": 94,
    "b": 178
  },
  "hsl": {
    "h": 280,
    "s": 35.294,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57713,
    "c": 0.13729,
    "h": 313.5
  },
  "luminance": 0.17704
}

Semantic roles & 50–950 ramp

primary
#965EB2
secondary
#B0C8A4
accent
#CB5C81
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #965EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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