#965AAA#965AAA

#965AAA is a mid, vivid purple. Relative luminance 0.167; OKLCH L 56.6% C 0.135 H 317.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#965AAA
RGBrgb(150, 90, 170)
HSLhsl(285, 32%, 51%)
HSVhsv(285, 47%, 67%)
CMYKcmyk(11.8%, 47.1%, 0%, 33.3%)
CIE-LABlab(47.88, 38.43, -33.11)
CIE-LCHlch(47.88, 50.73, 319.25°)
OKLaboklab(56.65% 0.0992 -0.0917)
OKLCHoklch(56.65% 0.135 317.2)
XYZxyz(23.4885, 16.6994, 40.0084)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#965AAA #6EAA5A
analogous
#6E5AAA #965AAA #AA5A96
triadic
#965AAA #AA965A #5AAA96
tetradic
#965AAA #AA6E5A #6EAA5A #5A96AA
square
#965AAA #AA6E5A #6EAA5A #5A96AA
split-complementary
#965AAA #96AA5A #5AAA6E
monochromatic
#502F5B #734483 #965AAA #B082BF #C9ABD4

Accessibility & contrast

On white

4.84
#965AAA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#965AAA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #965AAA
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##965AAA#FFFFFF#000000##FFFFFF
##965AAA1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6EAD
Deuteranopia (green-blind)
#5D74A8
Tritanopia (blue-blind)
#96657A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #965aaa;
/* rgb */ color: rgb(150, 90, 170);
/* oklch */ color: oklch(56.6% 0.135 317.2);
Tailwind
colors: {
  custom: {
    50: '#b68ac3',
    500: '#965aaa',
    950: '#000000',
  },
}
SCSS
$custom: #965aaa;
$custom-light: #b68ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#965aaa",
  "rgb": {
    "r": 150,
    "g": 90,
    "b": 170
  },
  "hsl": {
    "h": 285,
    "s": 32,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5665,
    "c": 0.13505,
    "h": 317.2
  },
  "luminance": 0.16699
}

Semantic roles & 50–950 ramp

primary
#965AAA
secondary
#A7C29E
accent
#C8607A
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C12
muted
#807D81

Preview Lab

Preview with #965AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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