#951C8D#951C8D

#951C8D is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.195 H 331.2°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#951C8D
RGBrgb(149, 28, 141)
HSLhsl(304, 68%, 35%)
HSVhsv(304, 81%, 58%)
CMYKcmyk(0%, 81.2%, 5.4%, 41.6%)
CIE-LABlab(36.26, 59.82, -34.02)
CIE-LCHlch(36.26, 68.82, 330.37°)
OKLaboklab(47.65% 0.1708 -0.0939)
OKLCHoklch(47.65% 0.195 331.2)
XYZxyz(17.6174, 9.1446, 26.0314)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C8D #1C9524
analogous
#611C95 #951C8D #951C51
triadic
#951C8D #8D951C #1C8D95
tetradic
#951C8D #95611C #1C9524 #1C5195
square
#951C8D #95611C #1C9524 #1C5195
split-complementary
#951C8D #51951C #1C9561
monochromatic
#2E092B #61125C #951C8D #C926BE #DE4ED4

Accessibility & contrast

On white

7.42
#951C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951C8D
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C8D#FFFFFF#000000##FFFFFF
##951C8D1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B4B90
Deuteranopia (green-blind)
#455B8A
Tritanopia (blue-blind)
#9B2D55
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951c8d;
/* rgb */ color: rgb(149, 28, 141);
/* oklch */ color: oklch(47.6% 0.195 331.2);
Tailwind
colors: {
  custom: {
    50: '#b869af',
    500: '#951c8d',
    950: '#000000',
  },
}
SCSS
$custom: #951c8d;
$custom-light: #b869af;
$custom-dark: #000000;
JSON
{
  "hex": "#951c8d",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 303.967,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.4765,
    "c": 0.1949,
    "h": 331.2
  },
  "luminance": 0.09143
}

Semantic roles & 50–950 ramp

primary
#951C8D
secondary
#4DC054
accent
#EB483D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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