#951B99#951B99

#951B99 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.3% C 0.205 H 326.7°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#951B99
RGBrgb(149, 27, 153)
HSLhsl(298, 70%, 35%)
HSVhsv(298, 82%, 60%)
CMYKcmyk(2.6%, 82.4%, 0%, 40%)
CIE-LABlab(36.88, 62.01, -40.37)
CIE-LCHlch(36.88, 73.99, 326.93°)
OKLaboklab(48.32% 0.1711 -0.1123)
OKLCHoklch(48.32% 0.205 326.7)
XYZxyz(18.5358, 9.4747, 30.9833)
Luminance0.0947 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B99 #1F991B
analogous
#561B99 #951B99 #991B5E
triadic
#951B99 #99951B #1B9995
tetradic
#951B99 #99561B #1F991B #1B5E99
square
#951B99 #99561B #1F991B #1B5E99
split-complementary
#951B99 #5E991B #1B9956
monochromatic
#300931 #621265 #951B99 #C824CD #DB4FE0

Accessibility & contrast

On white

7.25
#951B99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#951B99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B99
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B99#FFFFFF#000000##FFFFFF
##951B991.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9C
Deuteranopia (green-blind)
#3D5C96
Tritanopia (blue-blind)
#99335B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #951b99;
/* rgb */ color: rgb(149, 27, 153);
/* oklch */ color: oklch(48.3% 0.205 326.7);
Tailwind
colors: {
  custom: {
    50: '#b869b7',
    500: '#951b99',
    950: '#000000',
  },
}
SCSS
$custom: #951b99;
$custom-light: #b869b7;
$custom-dark: #000000;
JSON
{
  "hex": "#951b99",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 153
  },
  "hsl": {
    "h": 298.095,
    "s": 70,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48319,
    "c": 0.20467,
    "h": 326.7
  },
  "luminance": 0.09473
}

Semantic roles & 50–950 ramp

primary
#951B99
secondary
#51C24E
accent
#ED3B41
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951B99

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

Preview Lab → · Contrast checker → · Palette generator →

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