#951C8A#951C8A

#951C8A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.5% C 0.193 H 332.4°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#951C8A
RGBrgb(149, 28, 138)
HSLhsl(305, 68%, 35%)
HSVhsv(305, 81%, 58%)
CMYKcmyk(0%, 81.2%, 7.4%, 41.6%)
CIE-LABlab(36.09, 59.35, -32.44)
CIE-LCHlch(36.09, 67.64, 331.34°)
OKLaboklab(47.48% 0.1708 -0.0893)
OKLCHoklch(47.48% 0.193 332.4)
XYZxyz(17.3972, 9.0565, 24.8717)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C8A #1C9527
analogous
#641C95 #951C8A #951C4D
triadic
#951C8A #8A951C #1C8A95
tetradic
#951C8A #95641C #1C9527 #1C4D95
square
#951C8A #95641C #1C9527 #1C4D95
split-complementary
#951C8A #4D951C #1C9564
monochromatic
#2E092B #61125A #951C8A #C926BA #DE4ED1

Accessibility & contrast

On white

7.47
#951C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#951C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C8A
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C8A#FFFFFF#000000##FFFFFF
##951C8A1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124A8D
Deuteranopia (green-blind)
#475B87
Tritanopia (blue-blind)
#9C2C53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951c8a;
/* rgb */ color: rgb(149, 28, 138);
/* oklch */ color: oklch(47.5% 0.193 332.4);
Tailwind
colors: {
  custom: {
    50: '#b869ac',
    500: '#951c8a',
    950: '#000000',
  },
}
SCSS
$custom: #951c8a;
$custom-light: #b869ac;
$custom-dark: #000000;
JSON
{
  "hex": "#951c8a",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 305.455,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47475,
    "c": 0.19272,
    "h": 332.4
  },
  "luminance": 0.09055
}

Semantic roles & 50–950 ramp

primary
#951C8A
secondary
#4DC057
accent
#EB4C3D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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