#961795#961795

#961795 is a mid, highly saturated purple. Relative luminance 0.093; OKLCH L 48.0% C 0.205 H 328.6°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#961795
RGBrgb(150, 23, 149)
HSLhsl(300, 73%, 34%)
HSVhsv(300, 85%, 59%)
CMYKcmyk(0%, 84.7%, 0.7%, 41.2%)
CIE-LABlab(36.50, 62.49, -38.54)
CIE-LCHlch(36.50, 73.42, 328.33°)
OKLaboklab(48% 0.175 -0.107)
OKLCHoklch(48% 0.205 328.6)
XYZxyz(18.3087, 9.2682, 29.2526)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#961795 #179618
analogous
#581796 #961795 #961756
triadic
#961795 #959617 #179596
tetradic
#961795 #965817 #179618 #175696
square
#961795 #965817 #179618 #175696
split-complementary
#961795 #569617 #179658
monochromatic
#2C072C #610F60 #961795 #CB1FCA #E245E1

Accessibility & contrast

On white

7.36
#961795 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#961795 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #961795
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##961795#FFFFFF#000000##FFFFFF
##9617951.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C98
Deuteranopia (green-blind)
#405B92
Tritanopia (blue-blind)
#9B2F58
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #961795;
/* rgb */ color: rgb(150, 23, 149);
/* oklch */ color: oklch(48.0% 0.205 328.6);
Tailwind
colors: {
  custom: {
    50: '#b968b5',
    500: '#961795',
    950: '#000000',
  },
}
SCSS
$custom: #961795;
$custom-light: #b968b5;
$custom-dark: #000000;
JSON
{
  "hex": "#961795",
  "rgb": {
    "r": 150,
    "g": 23,
    "b": 149
  },
  "hsl": {
    "h": 300.472,
    "s": 73.41,
    "l": 33.922
  },
  "oklch": {
    "l": 0.48,
    "c": 0.20513,
    "h": 328.6
  },
  "luminance": 0.09267
}

Semantic roles & 50–950 ramp

primary
#961795
secondary
#45C346
accent
#F03938
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #961795

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

Preview Lab → · Contrast checker → · Palette generator →

#961795 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva