#952888#952888

#952888 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.179 H 333.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#952888
RGBrgb(149, 40, 136)
HSLhsl(307, 58%, 37%)
HSVhsv(307, 73%, 58%)
CMYKcmyk(0%, 73.2%, 8.7%, 41.6%)
CIE-LABlab(37.27, 55.35, -29.35)
CIE-LCHlch(37.27, 62.65, 332.07°)
OKLaboklab(48.29% 0.1599 -0.0805)
OKLCHoklch(48.29% 0.179 333.3)
XYZxyz(17.5973, 9.6862, 24.2306)
Luminance0.0969 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952888 #289535
analogous
#6C2895 #952888 #952852
triadic
#952888 #889528 #288895
tetradic
#952888 #956C28 #289535 #285295
square
#952888 #956C28 #289535 #285295
split-complementary
#952888 #529528 #28956C
monochromatic
#350E30 #651B5C #952888 #C535B4 #D562C7

Accessibility & contrast

On white

7.15
#952888 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#952888 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952888
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952888#FFFFFF#000000##FFFFFF
##9528881.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244E8B
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#9C3355
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952888;
/* rgb */ color: rgb(149, 40, 136);
/* oklch */ color: oklch(48.3% 0.179 333.3);
Tailwind
colors: {
  custom: {
    50: '#b86dab',
    500: '#952888',
    950: '#000000',
  },
}
SCSS
$custom: #952888;
$custom-light: #b86dab;
$custom-dark: #000000;
JSON
{
  "hex": "#952888",
  "rgb": {
    "r": 149,
    "g": 40,
    "b": 136
  },
  "hsl": {
    "h": 307.156,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48287,
    "c": 0.17901,
    "h": 333.3
  },
  "luminance": 0.09685
}

Semantic roles & 50–950 ramp

primary
#952888
secondary
#5EBB69
accent
#E15947
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952888

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

Preview Lab → · Contrast checker → · Palette generator →

#952888 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva