#951C8F#951C8F

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

Color values

HEX#951C8F
RGBrgb(149, 28, 143)
HSLhsl(303, 68%, 35%)
HSVhsv(303, 81%, 58%)
CMYKcmyk(0%, 81.2%, 4%, 41.6%)
CIE-LABlab(36.38, 60.13, -35.07)
CIE-LCHlch(36.38, 69.61, 329.75°)
OKLaboklab(47.77% 0.1708 -0.0969)
OKLCHoklch(47.77% 0.196 330.4)
XYZxyz(17.7676, 9.2047, 26.8222)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C8F #1C9522
analogous
#5E1C95 #951C8F #951C53
triadic
#951C8F #8F951C #1C8F95
tetradic
#951C8F #955E1C #1C9522 #1C5395
square
#951C8F #955E1C #1C9522 #1C5395
split-complementary
#951C8F #53951C #1C955E
monochromatic
#2E092C #61125E #951C8F #C926C0 #DE4ED7

Accessibility & contrast

On white

7.39
#951C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#951C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C8F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C8F#FFFFFF#000000##FFFFFF
##951C8F1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #951c8f;
/* rgb */ color: rgb(149, 28, 143);
/* oklch */ color: oklch(47.8% 0.196 330.4);
Tailwind
colors: {
  custom: {
    50: '#b869b0',
    500: '#951c8f',
    950: '#000000',
  },
}
SCSS
$custom: #951c8f;
$custom-light: #b869b0;
$custom-dark: #000000;
JSON
{
  "hex": "#951c8f",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 302.975,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47768,
    "c": 0.19637,
    "h": 330.4
  },
  "luminance": 0.09203
}

Semantic roles & 50–950 ramp

primary
#951C8F
secondary
#4DC052
accent
#EB453D
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #951C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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