#952787#952787

#952787 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.179 H 333.7°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#952787
RGBrgb(149, 39, 135)
HSLhsl(308, 59%, 37%)
HSVhsv(308, 74%, 58%)
CMYKcmyk(0%, 73.8%, 9.4%, 41.6%)
CIE-LABlab(37.10, 55.54, -29.01)
CIE-LCHlch(37.10, 62.66, 332.42°)
OKLaboklab(48.14% 0.1609 -0.0795)
OKLCHoklch(48.14% 0.179 333.7)
XYZxyz(17.4933, 9.5914, 23.8470)
Luminance0.0959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952787 #279535
analogous
#6C2795 #952787 #952750
triadic
#952787 #879527 #278795
tetradic
#952787 #956C27 #279535 #275095
square
#952787 #956C27 #279535 #275095
split-complementary
#952787 #509527 #27956C
monochromatic
#340E2F #641A5B #952787 #C634B3 #D661C7

Accessibility & contrast

On white

7.20
#952787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#952787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952787
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952787#FFFFFF#000000##FFFFFF
##9527871.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244D8A
Deuteranopia (green-blind)
#4C5D84
Tritanopia (blue-blind)
#9C3154
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #952787;
/* rgb */ color: rgb(149, 39, 135);
/* oklch */ color: oklch(48.1% 0.179 333.7);
Tailwind
colors: {
  custom: {
    50: '#b86daa',
    500: '#952787',
    950: '#000000',
  },
}
SCSS
$custom: #952787;
$custom-light: #b86daa;
$custom-dark: #000000;
JSON
{
  "hex": "#952787",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 307.636,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48144,
    "c": 0.17942,
    "h": 333.7
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#952787
secondary
#5DBB69
accent
#E25A46
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952787

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

Preview Lab → · Contrast checker → · Palette generator →

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