#951A97#951A97

#951A97 is a mid, highly saturated purple. Relative luminance 0.094; OKLCH L 48.1% C 0.204 H 327.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#951A97
RGBrgb(149, 26, 151)
HSLhsl(299, 71%, 35%)
HSVhsv(299, 83%, 59%)
CMYKcmyk(1.3%, 82.8%, 0%, 40.8%)
CIE-LABlab(36.68, 61.93, -39.48)
CIE-LCHlch(36.68, 73.44, 327.48°)
OKLaboklab(48.13% 0.1719 -0.1097)
OKLCHoklch(48.13% 0.204 327.4)
XYZxyz(18.3495, 9.3641, 30.1132)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951A97 #1C971A
analogous
#571A97 #951A97 #971A5B
triadic
#951A97 #97951A #1A9795
tetradic
#951A97 #97571A #1C971A #1A5B97
square
#951A97 #97571A #1C971A #1A5B97
split-complementary
#951A97 #5B971A #1A9757
monochromatic
#2E082F #611163 #951A97 #C923CB #DE4BE0

Accessibility & contrast

On white

7.31
#951A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#951A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951A97
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951A97#FFFFFF#000000##FFFFFF
##951A971.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3E5B94
Tritanopia (blue-blind)
#9A325A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #951a97;
/* rgb */ color: rgb(149, 26, 151);
/* oklch */ color: oklch(48.1% 0.204 327.4);
Tailwind
colors: {
  custom: {
    50: '#b869b6',
    500: '#951a97',
    950: '#000000',
  },
}
SCSS
$custom: #951a97;
$custom-light: #b869b6;
$custom-dark: #000000;
JSON
{
  "hex": "#951a97",
  "rgb": {
    "r": 149,
    "g": 26,
    "b": 151
  },
  "hsl": {
    "h": 299.04,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.48134,
    "c": 0.20394,
    "h": 327.4
  },
  "luminance": 0.09363
}

Semantic roles & 50–950 ramp

primary
#951A97
secondary
#4DC24B
accent
#ED3A3D
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951A97

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

Preview Lab → · Contrast checker → · Palette generator →

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