#952287#952287

#952287 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.185 H 333.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#952287
RGBrgb(149, 34, 135)
HSLhsl(307, 63%, 36%)
HSVhsv(307, 77%, 58%)
CMYKcmyk(0%, 77.2%, 9.4%, 41.6%)
CIE-LABlab(36.53, 57.17, -29.91)
CIE-LCHlch(36.53, 64.52, 332.39°)
OKLaboklab(47.73% 0.1657 -0.082)
OKLCHoklch(47.73% 0.185 333.7)
XYZxyz(17.3398, 9.2844, 23.7958)
Luminance0.0928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952287 #229530
analogous
#692295 #952287 #95224D
triadic
#952287 #879522 #228795
tetradic
#952287 #956922 #229530 #224D95
square
#952287 #956922 #229530 #224D95
split-complementary
#952287 #4D9522 #229569
monochromatic
#310B2D #63175A #952287 #C72DB4 #D958C9

Accessibility & contrast

On white

7.35
#952287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#952287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952287
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952287#FFFFFF#000000##FFFFFF
##9522871.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B8A
Deuteranopia (green-blind)
#4A5C84
Tritanopia (blue-blind)
#9C2E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #952287;
/* rgb */ color: rgb(149, 34, 135);
/* oklch */ color: oklch(47.7% 0.185 333.7);
Tailwind
colors: {
  custom: {
    50: '#b86baa',
    500: '#952287',
    950: '#000000',
  },
}
SCSS
$custom: #952287;
$custom-light: #b86baa;
$custom-dark: #000000;
JSON
{
  "hex": "#952287",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 307.304,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47733,
    "c": 0.18485,
    "h": 333.7
  },
  "luminance": 0.09283
}

Semantic roles & 50–950 ramp

primary
#952287
secondary
#56BD62
accent
#E65642
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #952287

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

Preview Lab → · Contrast checker → · Palette generator →

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