#951D98#951D98

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

Color values

HEX#951D98
RGBrgb(149, 29, 152)
HSLhsl(299, 68%, 35%)
HSVhsv(299, 81%, 60%)
CMYKcmyk(2%, 80.9%, 0%, 40.4%)
CIE-LABlab(37.00, 61.33, -39.58)
CIE-LCHlch(37.00, 73.00, 327.16°)
OKLaboklab(48.38% 0.1697 -0.11)
OKLCHoklch(48.38% 0.202 327)
XYZxyz(18.5010, 9.5366, 30.5660)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951D98 #20981D
analogous
#581D98 #951D98 #981D5D
triadic
#951D98 #98951D #1D9895
tetradic
#951D98 #98581D #20981D #1D5D98
square
#951D98 #98581D #20981D #1D5D98
split-complementary
#951D98 #5D981D #1D9858
monochromatic
#300931 #631365 #951D98 #C727CB #DA52DE

Accessibility & contrast

On white

7.22
#951D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#951D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951D98
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951D98#FFFFFF#000000##FFFFFF
##951D981.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9B
Deuteranopia (green-blind)
#3F5C95
Tritanopia (blue-blind)
#99345B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #951d98;
/* rgb */ color: rgb(149, 29, 152);
/* oklch */ color: oklch(48.4% 0.202 327.0);
Tailwind
colors: {
  custom: {
    50: '#b869b7',
    500: '#951d98',
    950: '#000000',
  },
}
SCSS
$custom: #951d98;
$custom-light: #b869b7;
$custom-dark: #000000;
JSON
{
  "hex": "#951d98",
  "rgb": {
    "r": 149,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 298.537,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.48381,
    "c": 0.20226,
    "h": 327
  },
  "luminance": 0.09535
}

Semantic roles & 50–950 ramp

primary
#951D98
secondary
#53C150
accent
#EB3D41
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951D98

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

Preview Lab → · Contrast checker → · Palette generator →

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