#952497#952497

#952497 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.8% C 0.195 H 327.3°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#952497
RGBrgb(149, 36, 151)
HSLhsl(299, 61%, 37%)
HSVhsv(299, 76%, 59%)
CMYKcmyk(1.3%, 76.2%, 0%, 40.8%)
CIE-LABlab(37.64, 59.14, -37.95)
CIE-LCHlch(37.64, 70.27, 327.31°)
OKLaboklab(48.82% 0.1641 -0.1053)
OKLCHoklch(48.82% 0.195 327.3)
XYZxyz(18.6109, 9.8870, 30.2003)
Luminance0.0989 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952497 #269724
analogous
#5C2497 #952497 #97245F
triadic
#952497 #979524 #249795
tetradic
#952497 #975C24 #269724 #245F97
square
#952497 #975C24 #269724 #245F97
split-complementary
#952497 #5F9724 #24975C
monochromatic
#330C34 #641866 #952497 #C630C8 #D65DD8

Accessibility & contrast

On white

7.05
#952497 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#952497 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952497
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952497#FFFFFF#000000##FFFFFF
##9524971.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034F9A
Deuteranopia (green-blind)
#425E94
Tritanopia (blue-blind)
#99375C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #952497;
/* rgb */ color: rgb(149, 36, 151);
/* oklch */ color: oklch(48.8% 0.195 327.3);
Tailwind
colors: {
  custom: {
    50: '#b86cb6',
    500: '#952497',
    950: '#000000',
  },
}
SCSS
$custom: #952497;
$custom-light: #b86cb6;
$custom-dark: #000000;
JSON
{
  "hex": "#952497",
  "rgb": {
    "r": 149,
    "g": 36,
    "b": 151
  },
  "hsl": {
    "h": 298.957,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.48818,
    "c": 0.19497,
    "h": 327.3
  },
  "luminance": 0.09886
}

Semantic roles & 50–950 ramp

primary
#952497
secondary
#5BBD5A
accent
#E54346
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#120811
muted
#817A80

Preview Lab

Preview with #952497

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

Preview Lab → · Contrast checker → · Palette generator →

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