#951F83#951F83

#951F83 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.185 H 335.3°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#951F83
RGBrgb(149, 31, 131)
HSLhsl(309, 66%, 35%)
HSVhsv(309, 79%, 58%)
CMYKcmyk(0%, 79.2%, 12.1%, 41.6%)
CIE-LABlab(36.00, 57.46, -28.25)
CIE-LCHlch(36.00, 64.03, 333.82°)
OKLaboklab(47.29% 0.1681 -0.0772)
OKLCHoklch(47.29% 0.185 335.3)
XYZxyz(16.9814, 9.0098, 22.3130)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F83 #1F9531
analogous
#6C1F95 #951F83 #951F48
triadic
#951F83 #83951F #1F8395
tetradic
#951F83 #956C1F #1F9531 #1F4895
square
#951F83 #956C1F #1F9531 #1F4895
split-complementary
#951F83 #48951F #1F956C
monochromatic
#300A2A #621456 #951F83 #C82AB0 #DB53C6

Accessibility & contrast

On white

7.50
#951F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#951F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F83
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F83#FFFFFF#000000##FFFFFF
##951F831.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4A86
Deuteranopia (green-blind)
#4B5B80
Tritanopia (blue-blind)
#9D2A50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951f83;
/* rgb */ color: rgb(149, 31, 131);
/* oklch */ color: oklch(47.3% 0.185 335.3);
Tailwind
colors: {
  custom: {
    50: '#b869a7',
    500: '#951f83',
    950: '#000000',
  },
}
SCSS
$custom: #951f83;
$custom-light: #b869a7;
$custom-dark: #000000;
JSON
{
  "hex": "#951f83",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 131
  },
  "hsl": {
    "h": 309.153,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.47289,
    "c": 0.18496,
    "h": 335.3
  },
  "luminance": 0.09008
}

Semantic roles & 50–950 ramp

primary
#951F83
secondary
#51BF62
accent
#E9593F
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #951F83

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

Preview Lab → · Contrast checker → · Palette generator →

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