#951A8A#951A8A

#951A8A is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.3% C 0.194 H 332.4°. Best body text is #FFFFFF at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#951A8A
RGBrgb(149, 26, 138)
HSLhsl(305, 70%, 34%)
HSVhsv(305, 83%, 58%)
CMYKcmyk(0%, 82.6%, 7.4%, 41.6%)
CIE-LABlab(35.92, 59.86, -32.72)
CIE-LCHlch(35.92, 68.22, 331.34°)
OKLaboklab(47.35% 0.1723 -0.0901)
OKLCHoklch(47.35% 0.194 332.4)
XYZxyz(17.3513, 8.9648, 24.8564)
Luminance0.0896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A8A #1A9525
analogous
#631A95 #951A8A #951A4D
triadic
#951A8A #8A951A #1A8A95
tetradic
#951A8A #95631A #1A9525 #1A4D95
square
#951A8A #95631A #1A9525 #1A4D95
split-complementary
#951A8A #4D951A #1A9563
monochromatic
#2D0829 #61115A #951A8A #C923BA #DF4AD2

Accessibility & contrast

On white

7.52
#951A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#951A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A8A
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A8A#FFFFFF#000000##FFFFFF
##951A8A1.007.522.797.52
#FFFFFF7.521.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4A8D
Deuteranopia (green-blind)
#465A87
Tritanopia (blue-blind)
#9C2A53
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #951a8a;
/* rgb */ color: rgb(149, 26, 138);
/* oklch */ color: oklch(47.3% 0.194 332.4);
Tailwind
colors: {
  custom: {
    50: '#b868ac',
    500: '#951a8a',
    950: '#000000',
  },
}
SCSS
$custom: #951a8a;
$custom-light: #b868ac;
$custom-dark: #000000;
JSON
{
  "hex": "#951a8a",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 138
  },
  "hsl": {
    "h": 305.366,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4735,
    "c": 0.19441,
    "h": 332.4
  },
  "luminance": 0.08963
}

Semantic roles & 50–950 ramp

primary
#951A8A
secondary
#4AC154
accent
#ED4B3B
background
#FBF6FA
surface
#F7EBF4
border
#D0C6CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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