#951E8F#951E8F

#951E8F is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.9% C 0.195 H 330.4°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#951E8F
RGBrgb(149, 30, 143)
HSLhsl(303, 66%, 35%)
HSVhsv(303, 80%, 58%)
CMYKcmyk(0%, 79.9%, 4%, 41.6%)
CIE-LABlab(36.56, 59.60, -34.78)
CIE-LCHlch(36.56, 69.00, 329.74°)
OKLaboklab(47.9% 0.1692 -0.0961)
OKLCHoklch(47.9% 0.195 330.4)
XYZxyz(17.8166, 9.3027, 26.8385)
Luminance0.0930 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951E8F #1E9524
analogous
#5F1E95 #951E8F #951E54
triadic
#951E8F #8F951E #1E8F95
tetradic
#951E8F #955F1E #1E9524 #1E5495
square
#951E8F #955F1E #1E9524 #1E5495
split-complementary
#951E8F #54951E #1E955F
monochromatic
#2F092D #62145E #951E8F #C828C0 #DC51D5

Accessibility & contrast

On white

7.34
#951E8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#951E8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951E8F
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951E8F#FFFFFF#000000##FFFFFF
##951E8F1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4C92
Deuteranopia (green-blind)
#455C8C
Tritanopia (blue-blind)
#9B3056
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951e8f;
/* rgb */ color: rgb(149, 30, 143);
/* oklch */ color: oklch(47.9% 0.195 330.4);
Tailwind
colors: {
  custom: {
    50: '#b869b0',
    500: '#951e8f',
    950: '#000000',
  },
}
SCSS
$custom: #951e8f;
$custom-light: #b869b0;
$custom-dark: #000000;
JSON
{
  "hex": "#951e8f",
  "rgb": {
    "r": 149,
    "g": 30,
    "b": 143
  },
  "hsl": {
    "h": 303.025,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.479,
    "c": 0.19461,
    "h": 330.4
  },
  "luminance": 0.09301
}

Semantic roles & 50–950 ramp

primary
#951E8F
secondary
#50BF55
accent
#E9473E
background
#FBF6FA
surface
#F7ECF5
border
#D0C7CF
text
#120710
muted
#817A7F

Preview Lab

Preview with #951E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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