#951D97#951D97

#951D97 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.24:1 contrast (WCAG AA passes).

Color values

HEX#951D97
RGBrgb(149, 29, 151)
HSLhsl(299, 68%, 35%)
HSVhsv(299, 81%, 59%)
CMYKcmyk(1.3%, 80.8%, 0%, 40.8%)
CIE-LABlab(36.94, 61.17, -39.07)
CIE-LCHlch(36.94, 72.58, 327.43°)
OKLaboklab(48.32% 0.1698 -0.1085)
OKLCHoklch(48.32% 0.202 327.4)
XYZxyz(18.4194, 9.5040, 30.1365)
Luminance0.0950 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D97 #1F971D
analogous
#581D97 #951D97 #971D5C
triadic
#951D97 #97951D #1D9795
tetradic
#951D97 #97581D #1F971D #1D5C97
square
#951D97 #97581D #1F971D #1D5C97
split-complementary
#951D97 #5C971D #1D9758
monochromatic
#300930 #621364 #951D97 #C827CA #DB51DE

Accessibility & contrast

On white

7.24
#951D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#951D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951D97
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D97#FFFFFF#000000##FFFFFF
##951D971.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.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: #951d97;
/* rgb */ color: rgb(149, 29, 151);
/* oklch */ color: oklch(48.3% 0.202 327.4);
Tailwind
colors: {
  custom: {
    50: '#b869b6',
    500: '#951d97',
    950: '#000000',
  },
}
SCSS
$custom: #951d97;
$custom-light: #b869b6;
$custom-dark: #000000;
JSON
{
  "hex": "#951d97",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 299.016,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48319,
    "c": 0.20151,
    "h": 327.4
  },
  "luminance": 0.09503
}

Semantic roles & 50–950 ramp

primary
#951D97
secondary
#51C04F
accent
#EB3D40
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951D97

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

Preview Lab → · Contrast checker → · Palette generator →

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