#951F85#951F85

#951F85 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.186 H 334.5°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#951F85
RGBrgb(149, 31, 133)
HSLhsl(308, 66%, 35%)
HSVhsv(308, 79%, 58%)
CMYKcmyk(0%, 79.2%, 10.7%, 41.6%)
CIE-LABlab(36.11, 57.76, -29.33)
CIE-LCHlch(36.11, 64.78, 333.08°)
OKLaboklab(47.4% 0.1682 -0.0803)
OKLCHoklch(47.4% 0.186 334.5)
XYZxyz(17.1182, 9.0645, 23.0338)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F85 #1F952F
analogous
#6A1F95 #951F85 #951F4A
triadic
#951F85 #85951F #1F8595
tetradic
#951F85 #956A1F #1F952F #1F4A95
square
#951F85 #956A1F #1F952F #1F4A95
split-complementary
#951F85 #4A951F #1F956A
monochromatic
#300A2B #621458 #951F85 #C82AB2 #DB53C9

Accessibility & contrast

On white

7.47
#951F85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#951F85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F85
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F85#FFFFFF#000000##FFFFFF
##951F851.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4A88
Deuteranopia (green-blind)
#4A5B82
Tritanopia (blue-blind)
#9C2B51
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951f85;
/* rgb */ color: rgb(149, 31, 133);
/* oklch */ color: oklch(47.4% 0.186 334.5);
Tailwind
colors: {
  custom: {
    50: '#b869a9',
    500: '#951f85',
    950: '#000000',
  },
}
SCSS
$custom: #951f85;
$custom-light: #b869a9;
$custom-dark: #000000;
JSON
{
  "hex": "#951f85",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 133
  },
  "hsl": {
    "h": 308.136,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47399,
    "c": 0.18638,
    "h": 334.5
  },
  "luminance": 0.09063
}

Semantic roles & 50–950 ramp

primary
#951F85
secondary
#51BF60
accent
#E9563F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951F85

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

Preview Lab → · Contrast checker → · Palette generator →

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