#951F91#951F91

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

Color values

HEX#951F91
RGBrgb(149, 31, 145)
HSLhsl(302, 66%, 35%)
HSVhsv(302, 79%, 58%)
CMYKcmyk(0%, 79.2%, 2.7%, 41.6%)
CIE-LABlab(36.77, 59.64, -35.67)
CIE-LCHlch(36.77, 69.49, 329.12°)
OKLaboklab(48.09% 0.1684 -0.0987)
OKLCHoklch(48.09% 0.195 329.6)
XYZxyz(17.9951, 9.4153, 27.6521)
Luminance0.0941 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F91 #1F9523
analogous
#5E1F95 #951F91 #951F56
triadic
#951F91 #91951F #1F9195
tetradic
#951F91 #955E1F #1F9523 #1F5695
square
#951F91 #955E1F #1F9523 #1F5695
split-complementary
#951F91 #56951F #1F955E
monochromatic
#300A2E #621460 #951F91 #C82AC2 #DB53D7

Accessibility & contrast

On white

7.28
#951F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#951F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F91
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F91#FFFFFF#000000##FFFFFF
##951F911.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074D94
Deuteranopia (green-blind)
#445C8E
Tritanopia (blue-blind)
#9B3158
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951f91;
/* rgb */ color: rgb(149, 31, 145);
/* oklch */ color: oklch(48.1% 0.195 329.6);
Tailwind
colors: {
  custom: {
    50: '#b86ab2',
    500: '#951f91',
    950: '#000000',
  },
}
SCSS
$custom: #951f91;
$custom-light: #b86ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#951f91",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 145
  },
  "hsl": {
    "h": 302.034,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48087,
    "c": 0.19519,
    "h": 329.6
  },
  "luminance": 0.09414
}

Semantic roles & 50–950 ramp

primary
#951F91
secondary
#51BF55
accent
#E9453F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951F91

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

Preview Lab → · Contrast checker → · Palette generator →

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