#951B92#951B92

#951B92 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.9% C 0.199 H 329.3°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#951B92
RGBrgb(149, 27, 146)
HSLhsl(301, 69%, 35%)
HSVhsv(301, 82%, 58%)
CMYKcmyk(0%, 81.9%, 2%, 41.6%)
CIE-LABlab(36.46, 60.87, -36.77)
CIE-LCHlch(36.46, 71.11, 328.86°)
OKLaboklab(47.89% 0.1715 -0.1019)
OKLCHoklch(47.89% 0.199 329.3)
XYZxyz(17.9745, 9.2502, 28.0273)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B92 #1B951E
analogous
#5B1B95 #951B92 #951B55
triadic
#951B92 #92951B #1B9295
tetradic
#951B92 #955B1B #1B951E #1B5595
square
#951B92 #955B1B #1B951E #1B5595
split-complementary
#951B92 #55951B #1B955B
monochromatic
#2D082C #61125F #951B92 #C924C5 #DF4CDB

Accessibility & contrast

On white

7.37
#951B92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#951B92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B92
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B92#FFFFFF#000000##FFFFFF
##951B921.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C95
Deuteranopia (green-blind)
#425B8F
Tritanopia (blue-blind)
#9A3057
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951b92;
/* rgb */ color: rgb(149, 27, 146);
/* oklch */ color: oklch(47.9% 0.199 329.3);
Tailwind
colors: {
  custom: {
    50: '#b869b2',
    500: '#951b92',
    950: '#000000',
  },
}
SCSS
$custom: #951b92;
$custom-light: #b869b2;
$custom-dark: #000000;
JSON
{
  "hex": "#951b92",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 146
  },
  "hsl": {
    "h": 301.475,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47885,
    "c": 0.19943,
    "h": 329.3
  },
  "luminance": 0.09249
}

Semantic roles & 50–950 ramp

primary
#951B92
secondary
#4BC14E
accent
#EC403C
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951B92

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

Preview Lab → · Contrast checker → · Palette generator →

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