#951C97#951C97

#951C97 is a mid, highly saturated purple. Relative luminance 0.095; OKLCH L 48.3% C 0.202 H 327.4°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#951C97
RGBrgb(149, 28, 151)
HSLhsl(299, 69%, 35%)
HSVhsv(299, 81%, 59%)
CMYKcmyk(1.3%, 81.5%, 0%, 40.8%)
CIE-LABlab(36.85, 61.43, -39.21)
CIE-LCHlch(36.85, 72.88, 327.45°)
OKLaboklab(48.26% 0.1705 -0.109)
OKLCHoklch(48.26% 0.202 327.4)
XYZxyz(18.3953, 9.4558, 30.1284)
Luminance0.0945 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C97 #1E971C
analogous
#571C97 #951C97 #971C5C
triadic
#951C97 #97951C #1C9795
tetradic
#951C97 #97571C #1E971C #1C5C97
square
#951C97 #97571C #1E971C #1C5C97
split-complementary
#951C97 #5C971C #1C9757
monochromatic
#2F0930 #621263 #951C97 #C826CB #DC4FDE

Accessibility & contrast

On white

7.26
#951C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#951C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C97
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C97#FFFFFF#000000##FFFFFF
##951C971.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9A
Deuteranopia (green-blind)
#3F5C94
Tritanopia (blue-blind)
#9A335B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #951c97;
/* rgb */ color: rgb(149, 28, 151);
/* oklch */ color: oklch(48.3% 0.202 327.4);
Tailwind
colors: {
  custom: {
    50: '#b869b6',
    500: '#951c97',
    950: '#000000',
  },
}
SCSS
$custom: #951c97;
$custom-light: #b869b6;
$custom-dark: #000000;
JSON
{
  "hex": "#951c97",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 151
  },
  "hsl": {
    "h": 299.024,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.48255,
    "c": 0.20234,
    "h": 327.4
  },
  "luminance": 0.09454
}

Semantic roles & 50–950 ramp

primary
#951C97
secondary
#50C14E
accent
#EC3C3F
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951C97

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

Preview Lab → · Contrast checker → · Palette generator →

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