#952587#952587

#952587 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.182 H 333.7°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#952587
RGBrgb(149, 37, 135)
HSLhsl(308, 60%, 36%)
HSVhsv(308, 75%, 58%)
CMYKcmyk(0%, 75.2%, 9.4%, 41.6%)
CIE-LABlab(36.86, 56.21, -29.38)
CIE-LCHlch(36.86, 63.43, 332.41°)
OKLaboklab(47.97% 0.1628 -0.0805)
OKLCHoklch(47.97% 0.182 333.7)
XYZxyz(17.4293, 9.4635, 23.8257)
Luminance0.0946 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952587 #259533
analogous
#6B2595 #952587 #95254F
triadic
#952587 #879525 #258795
tetradic
#952587 #956B25 #259533 #254F95
square
#952587 #956B25 #259533 #254F95
split-complementary
#952587 #4F9525 #25956B
monochromatic
#330D2E #64195B #952587 #C631B3 #D75EC8

Accessibility & contrast

On white

7.26
#952587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#952587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952587
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952587#FFFFFF#000000##FFFFFF
##9525871.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224C8A
Deuteranopia (green-blind)
#4B5C84
Tritanopia (blue-blind)
#9C3054
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #952587;
/* rgb */ color: rgb(149, 37, 135);
/* oklch */ color: oklch(48.0% 0.182 333.7);
Tailwind
colors: {
  custom: {
    50: '#b86caa',
    500: '#952587',
    950: '#000000',
  },
}
SCSS
$custom: #952587;
$custom-light: #b86caa;
$custom-dark: #000000;
JSON
{
  "hex": "#952587",
  "rgb": {
    "r": 149,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 307.5,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.47974,
    "c": 0.18166,
    "h": 333.7
  },
  "luminance": 0.09462
}

Semantic roles & 50–950 ramp

primary
#952587
secondary
#5ABC66
accent
#E35844
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #952587

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

Preview Lab → · Contrast checker → · Palette generator →

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