#951A8E#951A8E

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

Color values

HEX#951A8E
RGBrgb(149, 26, 142)
HSLhsl(303, 70%, 34%)
HSVhsv(303, 83%, 58%)
CMYKcmyk(0%, 82.6%, 4.7%, 41.6%)
CIE-LABlab(36.14, 60.48, -34.83)
CIE-LCHlch(36.14, 69.79, 330.07°)
OKLaboklab(47.58% 0.1723 -0.0962)
OKLCHoklch(47.58% 0.197 330.8)
XYZxyz(17.6463, 9.0828, 26.4097)
Luminance0.0908 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A8E #1A9521
analogous
#5F1A95 #951A8E #951A50
triadic
#951A8E #8E951A #1A8E95
tetradic
#951A8E #955F1A #1A9521 #1A5095
square
#951A8E #955F1A #1A9521 #1A5095
split-complementary
#951A8E #50951A #1A955F
monochromatic
#2D082B #61115C #951A8E #C923C0 #DF4AD7

Accessibility & contrast

On white

7.46
#951A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951A8E
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A8E#FFFFFF#000000##FFFFFF
##951A8E1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044A91
Deuteranopia (green-blind)
#445B8B
Tritanopia (blue-blind)
#9B2D55
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951a8e;
/* rgb */ color: rgb(149, 26, 142);
/* oklch */ color: oklch(47.6% 0.197 330.8);
Tailwind
colors: {
  custom: {
    50: '#b868af',
    500: '#951a8e',
    950: '#000000',
  },
}
SCSS
$custom: #951a8e;
$custom-light: #b868af;
$custom-dark: #000000;
JSON
{
  "hex": "#951a8e",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 303.415,
    "s": 70.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.47584,
    "c": 0.1973,
    "h": 330.8
  },
  "luminance": 0.09081
}

Semantic roles & 50–950 ramp

primary
#951A8E
secondary
#4AC150
accent
#ED453B
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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