#952788#952788

#952788 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.180 H 333.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#952788
RGBrgb(149, 39, 136)
HSLhsl(307, 59%, 37%)
HSVhsv(307, 74%, 58%)
CMYKcmyk(0%, 73.8%, 8.7%, 41.6%)
CIE-LABlab(37.15, 55.70, -29.54)
CIE-LCHlch(37.15, 63.04, 332.06°)
OKLaboklab(48.2% 0.1609 -0.081)
OKLCHoklch(48.2% 0.18 333.3)
XYZxyz(17.5640, 9.6197, 24.2195)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952788 #279534
analogous
#6B2795 #952788 #952751
triadic
#952788 #889527 #278895
tetradic
#952788 #956B27 #279534 #275195
square
#952788 #956B27 #279534 #275195
split-complementary
#952788 #519527 #27956B
monochromatic
#340E2F #641A5C #952788 #C634B4 #D661C8

Accessibility & contrast

On white

7.18
#952788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952788
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952788#FFFFFF#000000##FFFFFF
##9527881.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234D8B
Deuteranopia (green-blind)
#4C5D85
Tritanopia (blue-blind)
#9C3255
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #952788;
/* rgb */ color: rgb(149, 39, 136);
/* oklch */ color: oklch(48.2% 0.180 333.3);
Tailwind
colors: {
  custom: {
    50: '#b86dab',
    500: '#952788',
    950: '#000000',
  },
}
SCSS
$custom: #952788;
$custom-light: #b86dab;
$custom-dark: #000000;
JSON
{
  "hex": "#952788",
  "rgb": {
    "r": 149,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 307.091,
    "s": 58.511,
    "l": 36.863
  },
  "oklch": {
    "l": 0.48199,
    "c": 0.18017,
    "h": 333.3
  },
  "luminance": 0.09618
}

Semantic roles & 50–950 ramp

primary
#952788
secondary
#5DBB68
accent
#E25846
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952788

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

Preview Lab → · Contrast checker → · Palette generator →

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