#951A8B#951A8B

#951A8B is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.195 H 332.0°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#951A8B
RGBrgb(149, 26, 139)
HSLhsl(305, 70%, 34%)
HSVhsv(305, 83%, 58%)
CMYKcmyk(0%, 82.6%, 6.7%, 41.6%)
CIE-LABlab(35.97, 60.02, -33.25)
CIE-LCHlch(35.97, 68.61, 331.01°)
OKLaboklab(47.41% 0.1723 -0.0916)
OKLCHoklch(47.41% 0.195 332)
XYZxyz(17.4241, 8.9939, 25.2394)
Luminance0.0899 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A8B #1A9524
analogous
#621A95 #951A8B #951A4E
triadic
#951A8B #8B951A #1A8B95
tetradic
#951A8B #95621A #1A9524 #1A4E95
square
#951A8B #95621A #1A9524 #1A4E95
split-complementary
#951A8B #4E951A #1A9562
monochromatic
#2D082A #61115A #951A8B #C923BC #DF4AD3

Accessibility & contrast

On white

7.50
#951A8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#951A8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A8B
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A8B#FFFFFF#000000##FFFFFF
##951A8B1.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4A8E
Deuteranopia (green-blind)
#465A88
Tritanopia (blue-blind)
#9C2B53
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951a8b;
/* rgb */ color: rgb(149, 26, 139);
/* oklch */ color: oklch(47.4% 0.195 332.0);
Tailwind
colors: {
  custom: {
    50: '#b868ad',
    500: '#951a8b',
    950: '#000000',
  },
}
SCSS
$custom: #951a8b;
$custom-light: #b868ad;
$custom-dark: #000000;
JSON
{
  "hex": "#951a8b",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 139
  },
  "hsl": {
    "h": 304.878,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47408,
    "c": 0.19513,
    "h": 332
  },
  "luminance": 0.08992
}

Semantic roles & 50–950 ramp

primary
#951A8B
secondary
#4AC153
accent
#ED493B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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