#951B8E#951B8E

#951B8E is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.196 H 330.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#951B8E
RGBrgb(149, 27, 142)
HSLhsl(303, 69%, 35%)
HSVhsv(303, 82%, 58%)
CMYKcmyk(0%, 81.9%, 4.7%, 41.6%)
CIE-LABlab(36.23, 60.23, -34.69)
CIE-LCHlch(36.23, 69.51, 330.06°)
OKLaboklab(47.65% 0.1715 -0.0958)
OKLCHoklch(47.65% 0.196 330.8)
XYZxyz(17.6688, 9.1279, 26.4172)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B8E #1B9522
analogous
#5F1B95 #951B8E #951B51
triadic
#951B8E #8E951B #1B8E95
tetradic
#951B8E #955F1B #1B9522 #1B5195
square
#951B8E #955F1B #1B9522 #1B5195
split-complementary
#951B8E #51951B #1B955F
monochromatic
#2D082B #61125D #951B8E #C924BF #DF4CD6

Accessibility & contrast

On white

7.43
#951B8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#951B8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951B8E
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B8E#FFFFFF#000000##FFFFFF
##951B8E1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#064B91
Deuteranopia (green-blind)
#445B8B
Tritanopia (blue-blind)
#9B2D55
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951b8e;
/* rgb */ color: rgb(149, 27, 142);
/* oklch */ color: oklch(47.6% 0.196 330.8);
Tailwind
colors: {
  custom: {
    50: '#b868af',
    500: '#951b8e',
    950: '#000000',
  },
}
SCSS
$custom: #951b8e;
$custom-light: #b868af;
$custom-dark: #000000;
JSON
{
  "hex": "#951b8e",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 142
  },
  "hsl": {
    "h": 303.443,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47645,
    "c": 0.19648,
    "h": 330.8
  },
  "luminance": 0.09126
}

Semantic roles & 50–950 ramp

primary
#951B8E
secondary
#4BC152
accent
#EC463C
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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