#951A9F#951A9F

#951A9F is a mid, highly saturated purple. Relative luminance 0.096; OKLCH L 48.6% C 0.210 H 324.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#951A9F
RGBrgb(149, 26, 159)
HSLhsl(295, 72%, 36%)
HSVhsv(295, 84%, 62%)
CMYKcmyk(6.3%, 83.6%, 0%, 37.6%)
CIE-LABlab(37.18, 63.26, -43.54)
CIE-LCHlch(37.18, 76.80, 325.46°)
OKLaboklab(48.65% 0.1712 -0.1216)
OKLCHoklch(48.65% 0.21 324.6)
XYZxyz(19.0213, 9.6328, 33.6516)
Luminance0.0963 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A9F #249F1A
analogous
#531A9F #951A9F #9F1A67
triadic
#951A9F #9F951A #1A9F95
tetradic
#951A9F #9F531A #249F1A #1A679F
square
#951A9F #9F531A #249F1A #1A679F
split-complementary
#951A9F #679F1A #1A9F53
monochromatic
#320936 #64116A #951A9F #C623D4 #D851E3

Accessibility & contrast

On white

7.18
#951A9F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#951A9F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A9F
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A9F#FFFFFF#000000##FFFFFF
##951A9F1.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA2
Deuteranopia (green-blind)
#395C9C
Tritanopia (blue-blind)
#98365F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #951a9f;
/* rgb */ color: rgb(149, 26, 159);
/* oklch */ color: oklch(48.6% 0.210 324.6);
Tailwind
colors: {
  custom: {
    50: '#b869bc',
    500: '#951a9f',
    950: '#000000',
  },
}
SCSS
$custom: #951a9f;
$custom-light: #b869bc;
$custom-dark: #000000;
JSON
{
  "hex": "#951a9f",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 159
  },
  "hsl": {
    "h": 295.489,
    "s": 71.892,
    "l": 36.275
  },
  "oklch": {
    "l": 0.48646,
    "c": 0.21,
    "h": 324.6
  },
  "luminance": 0.09632
}

Semantic roles & 50–950 ramp

primary
#951A9F
secondary
#59C550
accent
#EF3947
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120712
muted
#817A81

Preview Lab

Preview with #951A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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