#952187#952187

#952187 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.186 H 333.6°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#952187
RGBrgb(149, 33, 135)
HSLhsl(307, 64%, 36%)
HSVhsv(307, 78%, 58%)
CMYKcmyk(0%, 77.9%, 9.4%, 41.6%)
CIE-LABlab(36.42, 57.48, -30.07)
CIE-LCHlch(36.42, 64.87, 332.38°)
OKLaboklab(47.66% 0.1666 -0.0825)
OKLCHoklch(47.66% 0.186 333.6)
XYZxyz(17.3116, 9.2281, 23.7864)
Luminance0.0923 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952187 #21952F
analogous
#692195 #952187 #95214D
triadic
#952187 #879521 #218795
tetradic
#952187 #956921 #21952F #214D95
square
#952187 #956921 #21952F #214D95
split-complementary
#952187 #4D9521 #219569
monochromatic
#310B2C #63165A #952187 #C72CB4 #DA57CA

Accessibility & contrast

On white

7.38
#952187 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#952187 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952187
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952187#FFFFFF#000000##FFFFFF
##9521871.007.382.857.38
#FFFFFF7.381.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #952187;
/* rgb */ color: rgb(149, 33, 135);
/* oklch */ color: oklch(47.7% 0.186 333.6);
Tailwind
colors: {
  custom: {
    50: '#b86aaa',
    500: '#952187',
    950: '#000000',
  },
}
SCSS
$custom: #952187;
$custom-light: #b86aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#952187",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 135
  },
  "hsl": {
    "h": 307.241,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47656,
    "c": 0.18586,
    "h": 333.6
  },
  "luminance": 0.09227
}

Semantic roles & 50–950 ramp

primary
#952187
secondary
#54BE61
accent
#E75541
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #952187

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

Preview Lab → · Contrast checker → · Palette generator →

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