#961FA7#961FA7

#961FA7 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.213 H 322.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#961FA7
RGBrgb(150, 31, 167)
HSLhsl(293, 69%, 39%)
HSVhsv(293, 81%, 65%)
CMYKcmyk(10.2%, 81.4%, 0%, 34.5%)
CIE-LABlab(38.30, 63.57, -46.55)
CIE-LCHlch(38.30, 78.79, 323.79°)
OKLaboklab(49.64% 0.168 -0.1304)
OKLCHoklch(49.64% 0.213 322.2)
XYZxyz(20.0420, 10.2552, 37.4755)
Luminance0.1025 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#961FA7 #30A71F
analogous
#521FA7 #961FA7 #A71F74
triadic
#961FA7 #A7961F #1FA796
tetradic
#961FA7 #A7521F #30A71F #1F74A7
square
#961FA7 #A7521F #30A71F #1F74A7
split-complementary
#961FA7 #74A71F #1FA752
monochromatic
#390C40 #681573 #961FA7 #C22BD8 #D15FE1

Accessibility & contrast

On white

6.88
#961FA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#961FA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #961FA7
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##961FA7#FFFFFF#000000##FFFFFF
##961FA71.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AB
Deuteranopia (green-blind)
#355EA4
Tritanopia (blue-blind)
#983C64
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #961fa7;
/* rgb */ color: rgb(150, 31, 167);
/* oklch */ color: oklch(49.6% 0.213 322.2);
Tailwind
colors: {
  custom: {
    50: '#b96bc2',
    500: '#961fa7',
    950: '#000000',
  },
}
SCSS
$custom: #961fa7;
$custom-light: #b96bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#961fa7",
  "rgb": {
    "r": 150,
    "g": 31,
    "b": 167
  },
  "hsl": {
    "h": 292.5,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.49635,
    "c": 0.21265,
    "h": 322.2
  },
  "luminance": 0.10254
}

Semantic roles & 50–950 ramp

primary
#961FA7
secondary
#69C65C
accent
#EC3C52
background
#FBF6FC
surface
#F7ECF8
border
#D0C7D1
text
#120812
muted
#817A81

Preview Lab

Preview with #961FA7

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

Preview Lab → · Contrast checker → · Palette generator →

#961FA7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva