#951F9E#951F9E

#951F9E is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.9% C 0.205 H 324.9°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#951F9E
RGBrgb(149, 31, 158)
HSLhsl(296, 67%, 37%)
HSVhsv(296, 80%, 62%)
CMYKcmyk(5.7%, 80.4%, 0%, 38%)
CIE-LABlab(37.55, 61.81, -42.33)
CIE-LCHlch(37.55, 74.91, 325.59°)
OKLaboklab(48.89% 0.1678 -0.1181)
OKLCHoklch(48.89% 0.205 324.9)
XYZxyz(19.0555, 9.8394, 33.2367)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951F9E #289E1F
analogous
#561F9E #951F9E #9E1F68
triadic
#951F9E #9E951F #1F9E95
tetradic
#951F9E #9E561F #289E1F #1F689E
square
#951F9E #9E561F #289E1F #1F689E
split-complementary
#951F9E #689E1F #1F9E56
monochromatic
#350B38 #65156B #951F9E #C529D1 #D559DE

Accessibility & contrast

On white

7.08
#951F9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#951F9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951F9E
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951F9E#FFFFFF#000000##FFFFFF
##951F9E1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA1
Deuteranopia (green-blind)
#3B5D9B
Tritanopia (blue-blind)
#98385F
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #951f9e;
/* rgb */ color: rgb(149, 31, 158);
/* oklch */ color: oklch(48.9% 0.205 324.9);
Tailwind
colors: {
  custom: {
    50: '#b86abb',
    500: '#951f9e',
    950: '#000000',
  },
}
SCSS
$custom: #951f9e;
$custom-light: #b86abb;
$custom-dark: #000000;
JSON
{
  "hex": "#951f9e",
  "rgb": {
    "r": 149,
    "g": 31,
    "b": 158
  },
  "hsl": {
    "h": 295.748,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48893,
    "c": 0.20517,
    "h": 324.9
  },
  "luminance": 0.09838
}

Semantic roles & 50–950 ramp

primary
#951F9E
secondary
#5EC256
accent
#EA3E4A
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #951F9E

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

Preview Lab → · Contrast checker → · Palette generator →

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