#951C8E#951C8E

#951C8E is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.196 H 330.8°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#951C8E
RGBrgb(149, 28, 142)
HSLhsl(303, 68%, 35%)
HSVhsv(303, 81%, 58%)
CMYKcmyk(0%, 81.2%, 4.7%, 41.6%)
CIE-LABlab(36.32, 59.98, -34.55)
CIE-LCHlch(36.32, 69.22, 330.06°)
OKLaboklab(47.71% 0.1708 -0.0954)
OKLCHoklch(47.71% 0.196 330.8)
XYZxyz(17.6921, 9.1745, 26.4250)
Luminance0.0917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C8E #1C9523
analogous
#601C95 #951C8E #951C52
triadic
#951C8E #8E951C #1C8E95
tetradic
#951C8E #95601C #1C9523 #1C5295
square
#951C8E #95601C #1C9523 #1C5295
split-complementary
#951C8E #52951C #1C9560
monochromatic
#2E092C #61125D #951C8E #C926BF #DE4ED5

Accessibility & contrast

On white

7.41
#951C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#951C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C8E
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C8E#FFFFFF#000000##FFFFFF
##951C8E1.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084B91
Deuteranopia (green-blind)
#455B8B
Tritanopia (blue-blind)
#9B2E55
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951c8e;
/* rgb */ color: rgb(149, 28, 142);
/* oklch */ color: oklch(47.7% 0.196 330.8);
Tailwind
colors: {
  custom: {
    50: '#b869af',
    500: '#951c8e',
    950: '#000000',
  },
}
SCSS
$custom: #951c8e;
$custom-light: #b869af;
$custom-dark: #000000;
JSON
{
  "hex": "#951c8e",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 303.471,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47709,
    "c": 0.19563,
    "h": 330.8
  },
  "luminance": 0.09173
}

Semantic roles & 50–950 ramp

primary
#951C8E
secondary
#4DC053
accent
#EB473D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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