#951C98#951C98

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

Color values

HEX#951C98
RGBrgb(149, 28, 152)
HSLhsl(299, 69%, 35%)
HSVhsv(299, 82%, 60%)
CMYKcmyk(2%, 81.6%, 0%, 40.4%)
CIE-LABlab(36.91, 61.59, -39.72)
CIE-LCHlch(36.91, 73.29, 327.18°)
OKLaboklab(48.32% 0.1704 -0.1104)
OKLCHoklch(48.32% 0.203 327.1)
XYZxyz(18.4769, 9.4884, 30.5580)
Luminance0.0949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C98 #1F981C
analogous
#571C98 #951C98 #981C5D
triadic
#951C98 #98951C #1C9895
tetradic
#951C98 #98571C #1F981C #1C5D98
square
#951C98 #98571C #1F981C #1C5D98
split-complementary
#951C98 #5D981C #1C9857
monochromatic
#300931 #621264 #951C98 #C826CC #DB50DF

Accessibility & contrast

On white

7.25
#951C98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #951C98
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C98#FFFFFF#000000##FFFFFF
##951C981.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#3E5C95
Tritanopia (blue-blind)
#99335B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #951c98;
/* rgb */ color: rgb(149, 28, 152);
/* oklch */ color: oklch(48.3% 0.203 327.1);
Tailwind
colors: {
  custom: {
    50: '#b869b7',
    500: '#951c98',
    950: '#000000',
  },
}
SCSS
$custom: #951c98;
$custom-light: #b869b7;
$custom-dark: #000000;
JSON
{
  "hex": "#951c98",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 152
  },
  "hsl": {
    "h": 298.548,
    "s": 68.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.48318,
    "c": 0.2031,
    "h": 327.1
  },
  "luminance": 0.09487
}

Semantic roles & 50–950 ramp

primary
#951C98
secondary
#51C14E
accent
#EC3C40
background
#FBF6FB
surface
#F7ECF6
border
#D0C7D0
text
#120711
muted
#817A80

Preview Lab

Preview with #951C98

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

Preview Lab → · Contrast checker → · Palette generator →

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