#952988#952988

#952988 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.4% C 0.178 H 333.3°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#952988
RGBrgb(149, 41, 136)
HSLhsl(307, 57%, 37%)
HSVhsv(307, 72%, 58%)
CMYKcmyk(0%, 72.5%, 8.7%, 41.6%)
CIE-LABlab(37.40, 54.99, -29.15)
CIE-LCHlch(37.40, 62.24, 332.07°)
OKLaboklab(48.38% 0.1589 -0.0799)
OKLCHoklch(48.38% 0.178 333.3)
XYZxyz(17.6314, 9.7545, 24.2420)
Luminance0.0975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952988 #299536
analogous
#6C2995 #952988 #952952
triadic
#952988 #889529 #298895
tetradic
#952988 #956C29 #299536 #295295
square
#952988 #956C29 #299536 #295295
split-complementary
#952988 #529529 #29956C
monochromatic
#350F30 #651C5C #952988 #C536B4 #D464C7

Accessibility & contrast

On white

7.12
#952988 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952988
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952988#FFFFFF#000000##FFFFFF
##9529881.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#254E8B
Deuteranopia (green-blind)
#4D5E85
Tritanopia (blue-blind)
#9C3355
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #952988;
/* rgb */ color: rgb(149, 41, 136);
/* oklch */ color: oklch(48.4% 0.178 333.3);
Tailwind
colors: {
  custom: {
    50: '#b76dab',
    500: '#952988',
    950: '#000000',
  },
}
SCSS
$custom: #952988;
$custom-light: #b76dab;
$custom-dark: #000000;
JSON
{
  "hex": "#952988",
  "rgb": {
    "r": 149,
    "g": 41,
    "b": 136
  },
  "hsl": {
    "h": 307.222,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48377,
    "c": 0.17783,
    "h": 333.3
  },
  "luminance": 0.09753
}

Semantic roles & 50–950 ramp

primary
#952988
secondary
#60BA6A
accent
#E05A48
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120810
muted
#817B7F

Preview Lab

Preview with #952988

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

Preview Lab → · Contrast checker → · Palette generator →

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