#951B97#951B97

#951B97 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.2% C 0.203 H 327.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#951B97
RGBrgb(149, 27, 151)
HSLhsl(299, 70%, 35%)
HSVhsv(299, 82%, 59%)
CMYKcmyk(1.3%, 82.1%, 0%, 40.8%)
CIE-LABlab(36.76, 61.68, -39.35)
CIE-LCHlch(36.76, 73.16, 327.46°)
OKLaboklab(48.19% 0.1712 -0.1094)
OKLCHoklch(48.19% 0.203 327.4)
XYZxyz(18.3720, 9.4092, 30.1207)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B97 #1D971B
analogous
#571B97 #951B97 #971B5B
triadic
#951B97 #97951B #1B9795
tetradic
#951B97 #97571B #1D971B #1B5B97
square
#951B97 #97571B #1D971B #1B5B97
split-complementary
#951B97 #5B971B #1B9757
monochromatic
#2F082F #621263 #951B97 #C824CB #DD4DDF

Accessibility & contrast

On white

7.29
#951B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#951B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B97
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B97#FFFFFF#000000##FFFFFF
##951B971.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3F5C94
Tritanopia (blue-blind)
#9A325A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951b97;
/* rgb */ color: rgb(149, 27, 151);
/* oklch */ color: oklch(48.2% 0.203 327.4);
Tailwind
colors: {
  custom: {
    50: '#b869b6',
    500: '#951b97',
    950: '#000000',
  },
}
SCSS
$custom: #951b97;
$custom-light: #b869b6;
$custom-dark: #000000;
JSON
{
  "hex": "#951b97",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 151
  },
  "hsl": {
    "h": 299.032,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.48193,
    "c": 0.20316,
    "h": 327.4
  },
  "luminance": 0.09408
}

Semantic roles & 50–950 ramp

primary
#951B97
secondary
#4EC14C
accent
#EC3B3E
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951B97

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

Preview Lab → · Contrast checker → · Palette generator →

#951B97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva