#952786#952786

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

Color values

HEX#952786
RGBrgb(149, 39, 134)
HSLhsl(308, 59%, 37%)
HSVhsv(308, 74%, 58%)
CMYKcmyk(0%, 73.8%, 10.1%, 41.6%)
CIE-LABlab(37.05, 55.38, -28.47)
CIE-LCHlch(37.05, 62.27, 332.79°)
OKLaboklab(48.09% 0.1608 -0.0779)
OKLCHoklch(48.09% 0.179 334.1)
XYZxyz(17.4232, 9.5633, 23.4779)
Luminance0.0956 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952786 #279536
analogous
#6D2795 #952786 #95274F
triadic
#952786 #869527 #278695
tetradic
#952786 #956D27 #279536 #274F95
square
#952786 #956D27 #279536 #274F95
split-complementary
#952786 #4F9527 #27956D
monochromatic
#340E2F #641A5A #952786 #C634B2 #D661C6

Accessibility & contrast

On white

7.21
#952786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952786
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952786#FFFFFF#000000##FFFFFF
##9527861.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254D89
Deuteranopia (green-blind)
#4D5D83
Tritanopia (blue-blind)
#9C3154
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #952786;
/* rgb */ color: rgb(149, 39, 134);
/* oklch */ color: oklch(48.1% 0.179 334.1);
Tailwind
colors: {
  custom: {
    50: '#b86ca9',
    500: '#952786',
    950: '#000000',
  },
}
SCSS
$custom: #952786;
$custom-light: #b86ca9;
$custom-dark: #000000;
JSON
{
  "hex": "#952786",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 308.182,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4809,
    "c": 0.17867,
    "h": 334.1
  },
  "luminance": 0.09562
}

Semantic roles & 50–950 ramp

primary
#952786
secondary
#5DBB6A
accent
#E25B46
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952786

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

Preview Lab → · Contrast checker → · Palette generator →

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