#951C8C#951C8C

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

Color values

HEX#951C8C
RGBrgb(149, 28, 140)
HSLhsl(304, 68%, 35%)
HSVhsv(304, 81%, 58%)
CMYKcmyk(0%, 81.2%, 6%, 41.6%)
CIE-LABlab(36.20, 59.66, -33.50)
CIE-LCHlch(36.20, 68.42, 330.69°)
OKLaboklab(47.59% 0.1708 -0.0924)
OKLCHoklch(47.59% 0.194 331.6)
XYZxyz(17.5433, 9.1150, 25.6413)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C8C #1C9525
analogous
#621C95 #951C8C #951C4F
triadic
#951C8C #8C951C #1C8C95
tetradic
#951C8C #95621C #1C9525 #1C4F95
square
#951C8C #95621C #1C9525 #1C4F95
split-complementary
#951C8C #4F951C #1C9562
monochromatic
#2E092B #61125C #951C8C #C926BC #DE4ED3

Accessibility & contrast

On white

7.44
#951C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#951C8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C8C
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C8C#FFFFFF#000000##FFFFFF
##951C8C1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4B8F
Deuteranopia (green-blind)
#465B89
Tritanopia (blue-blind)
#9B2D54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951c8c;
/* rgb */ color: rgb(149, 28, 140);
/* oklch */ color: oklch(47.6% 0.194 331.6);
Tailwind
colors: {
  custom: {
    50: '#b869ae',
    500: '#951c8c',
    950: '#000000',
  },
}
SCSS
$custom: #951c8c;
$custom-light: #b869ae;
$custom-dark: #000000;
JSON
{
  "hex": "#951c8c",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 304.463,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47591,
    "c": 0.19417,
    "h": 331.6
  },
  "luminance": 0.09114
}

Semantic roles & 50–950 ramp

primary
#951C8C
secondary
#4DC055
accent
#EB4A3D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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