#952887#952887

#952887 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.2% C 0.178 H 333.7°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#952887
RGBrgb(149, 40, 135)
HSLhsl(308, 58%, 37%)
HSVhsv(308, 73%, 58%)
CMYKcmyk(0%, 73.2%, 9.4%, 41.6%)
CIE-LABlab(37.22, 55.19, -28.81)
CIE-LCHlch(37.22, 62.26, 332.43°)
OKLaboklab(48.23% 0.1598 -0.0789)
OKLCHoklch(48.23% 0.178 333.7)
XYZxyz(17.5265, 9.6579, 23.8581)
Luminance0.0966 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952887 #289536
analogous
#6C2895 #952887 #952851
triadic
#952887 #879528 #288795
tetradic
#952887 #956C28 #289536 #285195
square
#952887 #956C28 #289536 #285195
split-complementary
#952887 #519528 #28956C
monochromatic
#350E30 #651B5B #952887 #C535B3 #D562C6

Accessibility & contrast

On white

7.16
#952887 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#952887 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952887
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952887#FFFFFF#000000##FFFFFF
##9528871.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D8A
Deuteranopia (green-blind)
#4D5D84
Tritanopia (blue-blind)
#9C3254
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952887;
/* rgb */ color: rgb(149, 40, 135);
/* oklch */ color: oklch(48.2% 0.178 333.7);
Tailwind
colors: {
  custom: {
    50: '#b86daa',
    500: '#952887',
    950: '#000000',
  },
}
SCSS
$custom: #952887;
$custom-light: #b86daa;
$custom-dark: #000000;
JSON
{
  "hex": "#952887",
  "rgb": {
    "r": 149,
    "g": 40,
    "b": 135
  },
  "hsl": {
    "h": 307.706,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.48233,
    "c": 0.17826,
    "h": 333.7
  },
  "luminance": 0.09656
}

Semantic roles & 50–950 ramp

primary
#952887
secondary
#5EBB6A
accent
#E15B47
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952887

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

Preview Lab → · Contrast checker → · Palette generator →

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