#951F92#951F92

#951F92 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.1% C 0.196 H 329.3°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#951F92
RGBrgb(149, 31, 146)
HSLhsl(302, 66%, 35%)
HSVhsv(302, 79%, 58%)
CMYKcmyk(0%, 79.2%, 2%, 41.6%)
CIE-LABlab(36.83, 59.80, -36.19)
CIE-LCHlch(36.83, 69.90, 328.82°)
OKLaboklab(48.15% 0.1684 -0.1002)
OKLCHoklch(48.15% 0.196 329.3)
XYZxyz(18.0726, 9.4463, 28.0600)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F92 #1F9522
analogous
#5D1F95 #951F92 #951F57
triadic
#951F92 #92951F #1F9295
tetradic
#951F92 #955D1F #1F9522 #1F5795
square
#951F92 #955D1F #1F9522 #1F5795
split-complementary
#951F92 #57951F #1F955D
monochromatic
#300A2F #621460 #951F92 #C82AC4 #DB53D8

Accessibility & contrast

On white

7.27
#951F92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951F92
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F92#FFFFFF#000000##FFFFFF
##951F921.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044D95
Deuteranopia (green-blind)
#435C8F
Tritanopia (blue-blind)
#9A3258
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #951f92;
/* rgb */ color: rgb(149, 31, 146);
/* oklch */ color: oklch(48.1% 0.196 329.3);
Tailwind
colors: {
  custom: {
    50: '#b86ab2',
    500: '#951f92',
    950: '#000000',
  },
}
SCSS
$custom: #951f92;
$custom-light: #b86ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#951f92",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 146
  },
  "hsl": {
    "h": 301.525,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48147,
    "c": 0.19595,
    "h": 329.3
  },
  "luminance": 0.09445
}

Semantic roles & 50–950 ramp

primary
#951F92
secondary
#51BF54
accent
#E9443F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951F92

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

Preview Lab → · Contrast checker → · Palette generator →

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