#951C88#951C88

#951C88 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.4% C 0.191 H 333.2°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#951C88
RGBrgb(149, 28, 136)
HSLhsl(306, 68%, 35%)
HSVhsv(306, 81%, 58%)
CMYKcmyk(0%, 81.2%, 8.7%, 41.6%)
CIE-LABlab(35.98, 59.04, -31.38)
CIE-LCHlch(35.98, 66.87, 332.01°)
OKLaboklab(47.36% 0.1707 -0.0862)
OKLCHoklch(47.36% 0.191 333.2)
XYZxyz(17.2537, 8.9992, 24.1161)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#951C88 #1C9529
analogous
#651C95 #951C88 #951C4C
triadic
#951C88 #88951C #1C8895
tetradic
#951C88 #95651C #1C9529 #1C4C95
square
#951C88 #95651C #1C9529 #1C4C95
split-complementary
#951C88 #4C951C #1C9565
monochromatic
#2E092A #611259 #951C88 #C926B7 #DE4ECE

Accessibility & contrast

On white

7.50
#951C88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#951C88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #951C88
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##951C88#FFFFFF#000000##FFFFFF
##951C881.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154A8B
Deuteranopia (green-blind)
#485B85
Tritanopia (blue-blind)
#9C2A52
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #951c88;
/* rgb */ color: rgb(149, 28, 136);
/* oklch */ color: oklch(47.4% 0.191 333.2);
Tailwind
colors: {
  custom: {
    50: '#b868ab',
    500: '#951c88',
    950: '#000000',
  },
}
SCSS
$custom: #951c88;
$custom-light: #b868ab;
$custom-dark: #000000;
JSON
{
  "hex": "#951c88",
  "rgb": {
    "r": 149,
    "g": 28,
    "b": 136
  },
  "hsl": {
    "h": 306.446,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.47361,
    "c": 0.19128,
    "h": 333.2
  },
  "luminance": 0.08998
}

Semantic roles & 50–950 ramp

primary
#951C88
secondary
#4DC059
accent
#EB4F3D
background
#FBF6FA
surface
#F7ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #951C88

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

Preview Lab → · Contrast checker → · Palette generator →

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