#951B8F#951B8F

#951B8F is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.197 H 330.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#951B8F
RGBrgb(149, 27, 143)
HSLhsl(303, 69%, 35%)
HSVhsv(303, 82%, 58%)
CMYKcmyk(0%, 81.9%, 4%, 41.6%)
CIE-LABlab(36.29, 60.39, -35.21)
CIE-LCHlch(36.29, 69.91, 329.75°)
OKLaboklab(47.71% 0.1715 -0.0973)
OKLCHoklch(47.71% 0.197 330.4)
XYZxyz(17.7442, 9.1580, 26.8144)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951B8F #1B9521
analogous
#5E1B95 #951B8F #951B52
triadic
#951B8F #8F951B #1B8F95
tetradic
#951B8F #955E1B #1B9521 #1B5295
square
#951B8F #955E1B #1B9521 #1B5295
split-complementary
#951B8F #52951B #1B955E
monochromatic
#2D082C #61125D #951B8F #C924C1 #DF4CD7

Accessibility & contrast

On white

7.42
#951B8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951B8F
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951B8F#FFFFFF#000000##FFFFFF
##951B8F1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034B92
Deuteranopia (green-blind)
#445B8C
Tritanopia (blue-blind)
#9B2E56
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951b8f;
/* rgb */ color: rgb(149, 27, 143);
/* oklch */ color: oklch(47.7% 0.197 330.4);
Tailwind
colors: {
  custom: {
    50: '#b868b0',
    500: '#951b8f',
    950: '#000000',
  },
}
SCSS
$custom: #951b8f;
$custom-light: #b868b0;
$custom-dark: #000000;
JSON
{
  "hex": "#951b8f",
  "rgb": {
    "r": 149,
    "g": 27,
    "b": 143
  },
  "hsl": {
    "h": 302.951,
    "s": 69.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.47705,
    "c": 0.19721,
    "h": 330.4
  },
  "luminance": 0.09157
}

Semantic roles & 50–950 ramp

primary
#951B8F
secondary
#4BC151
accent
#EC443C
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #951B8F

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

Preview Lab → · Contrast checker → · Palette generator →

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