#965EA2#965EA2

#965EA2 is a mid, moderate purple. Relative luminance 0.171; OKLCH L 56.9% C 0.119 H 320.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#965EA2
RGBrgb(150, 94, 162)
HSLhsl(289, 27%, 50%)
HSVhsv(289, 42%, 64%)
CMYKcmyk(7.4%, 42%, 0%, 36.5%)
CIE-LABlab(48.38, 34.52, -27.62)
CIE-LCHlch(48.38, 44.21, 321.33°)
OKLaboklab(56.91% 0.0917 -0.0759)
OKLCHoklch(56.91% 0.119 320.4)
XYZxyz(23.1012, 17.0989, 36.2589)
Luminance0.1710 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965EA2 #6AA25E
analogous
#745EA2 #965EA2 #A25E8C
triadic
#965EA2 #A2965E #5EA296
tetradic
#965EA2 #A2745E #6AA25E #5E8CA2
square
#965EA2 #A2745E #6AA25E #5E8CA2
split-complementary
#965EA2 #8CA25E #5EA274
monochromatic
#4E3155 #72477B #965EA2 #AF85B8 #C9ACCF

Accessibility & contrast

On white

4.75
#965EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#965EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #965EA2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965EA2#FFFFFF#000000##FFFFFF
##965EA21.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#556FA4
Deuteranopia (green-blind)
#6375A0
Tritanopia (blue-blind)
#976678
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #965ea2;
/* rgb */ color: rgb(150, 94, 162);
/* oklch */ color: oklch(56.9% 0.119 320.4);
Tailwind
colors: {
  custom: {
    50: '#b68dbd',
    500: '#965ea2',
    950: '#000000',
  },
}
SCSS
$custom: #965ea2;
$custom-light: #b68dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#965ea2",
  "rgb": {
    "r": 150,
    "g": 94,
    "b": 162
  },
  "hsl": {
    "h": 289.412,
    "s": 26.772,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56906,
    "c": 0.11904,
    "h": 320.4
  },
  "luminance": 0.17098
}

Semantic roles & 50–950 ramp

primary
#965EA2
secondary
#A4BD9F
accent
#C36575
background
#FBF8FB
surface
#F6F0F6
border
#D0CBD0
text
#110C12
muted
#807D81

Preview Lab

Preview with #965EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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