#952687#952687

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

Color values

HEX#952687
RGBrgb(149, 38, 135)
HSLhsl(308, 59%, 37%)
HSVhsv(308, 74%, 58%)
CMYKcmyk(0%, 74.5%, 9.4%, 41.6%)
CIE-LABlab(36.98, 55.88, -29.19)
CIE-LCHlch(36.98, 63.05, 332.41°)
OKLaboklab(48.06% 0.1619 -0.08)
OKLCHoklch(48.06% 0.181 333.7)
XYZxyz(17.4608, 9.5265, 23.8362)
Luminance0.0953 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952687 #269534
analogous
#6C2695 #952687 #95264F
triadic
#952687 #879526 #268795
tetradic
#952687 #956C26 #269534 #264F95
square
#952687 #956C26 #269534 #264F95
split-complementary
#952687 #4F9526 #26956C
monochromatic
#330D2F #641A5B #952687 #C632B3 #D65FC7

Accessibility & contrast

On white

7.23
#952687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#952687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952687
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952687#FFFFFF#000000##FFFFFF
##9526871.007.232.917.23
#FFFFFF7.231.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #952687;
/* rgb */ color: rgb(149, 38, 135);
/* oklch */ color: oklch(48.1% 0.181 333.7);
Tailwind
colors: {
  custom: {
    50: '#b86caa',
    500: '#952687',
    950: '#000000',
  },
}
SCSS
$custom: #952687;
$custom-light: #b86caa;
$custom-dark: #000000;
JSON
{
  "hex": "#952687",
  "rgb": {
    "r": 149,
    "g": 38,
    "b": 135
  },
  "hsl": {
    "h": 307.568,
    "s": 59.358,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48058,
    "c": 0.18056,
    "h": 333.7
  },
  "luminance": 0.09525
}

Semantic roles & 50–950 ramp

primary
#952687
secondary
#5BBB67
accent
#E35945
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952687

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

Preview Lab → · Contrast checker → · Palette generator →

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