#952987#952987

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

Color values

HEX#952987
RGBrgb(149, 41, 135)
HSLhsl(308, 57%, 37%)
HSVhsv(308, 72%, 58%)
CMYKcmyk(0%, 72.5%, 9.4%, 41.6%)
CIE-LABlab(37.35, 54.84, -28.62)
CIE-LCHlch(37.35, 61.85, 332.44°)
OKLaboklab(48.32% 0.1588 -0.0784)
OKLCHoklch(48.32% 0.177 333.7)
XYZxyz(17.5607, 9.7262, 23.8694)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952987 #299537
analogous
#6D2995 #952987 #952951
triadic
#952987 #879529 #298795
tetradic
#952987 #956D29 #299537 #295195
square
#952987 #956D29 #299537 #295195
split-complementary
#952987 #519529 #29956D
monochromatic
#350F30 #651C5C #952987 #C536B2 #D464C6

Accessibility & contrast

On white

7.13
#952987 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#952987 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952987
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952987#FFFFFF#000000##FFFFFF
##9529871.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264E8A
Deuteranopia (green-blind)
#4D5D84
Tritanopia (blue-blind)
#9C3355
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952987;
/* rgb */ color: rgb(149, 41, 135);
/* oklch */ color: oklch(48.3% 0.177 333.7);
Tailwind
colors: {
  custom: {
    50: '#b76daa',
    500: '#952987',
    950: '#000000',
  },
}
SCSS
$custom: #952987;
$custom-light: #b76daa;
$custom-dark: #000000;
JSON
{
  "hex": "#952987",
  "rgb": {
    "r": 149,
    "g": 41,
    "b": 135
  },
  "hsl": {
    "h": 307.778,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48323,
    "c": 0.17708,
    "h": 333.7
  },
  "luminance": 0.09725
}

Semantic roles & 50–950 ramp

primary
#952987
secondary
#60BA6B
accent
#E05B48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952987

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

Preview Lab → · Contrast checker → · Palette generator →

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