#952182#952182

#952182 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.4% C 0.182 H 335.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#952182
RGBrgb(149, 33, 130)
HSLhsl(310, 64%, 36%)
HSVhsv(310, 78%, 58%)
CMYKcmyk(0%, 77.9%, 12.8%, 41.6%)
CIE-LABlab(36.16, 56.72, -27.39)
CIE-LCHlch(36.16, 62.98, 334.22°)
OKLaboklab(47.38% 0.1662 -0.0748)
OKLCHoklch(47.38% 0.182 335.8)
XYZxyz(16.9678, 9.0905, 21.9758)
Luminance0.0909 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952182 #219534
analogous
#6E2195 #952182 #952148
triadic
#952182 #829521 #218295
tetradic
#952182 #956E21 #219534 #214895
square
#952182 #956E21 #219534 #214895
split-complementary
#952182 #489521 #21956E
monochromatic
#310B2B #631656 #952182 #C72CAE #DA57C4

Accessibility & contrast

On white

7.45
#952182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#952182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952182
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952182#FFFFFF#000000##FFFFFF
##9521821.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224A85
Deuteranopia (green-blind)
#4C5B7F
Tritanopia (blue-blind)
#9D2A50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #952182;
/* rgb */ color: rgb(149, 33, 130);
/* oklch */ color: oklch(47.4% 0.182 335.8);
Tailwind
colors: {
  custom: {
    50: '#b86aa6',
    500: '#952182',
    950: '#000000',
  },
}
SCSS
$custom: #952182;
$custom-light: #b86aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#952182",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 130
  },
  "hsl": {
    "h": 309.828,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47384,
    "c": 0.18228,
    "h": 335.8
  },
  "luminance": 0.09089
}

Semantic roles & 50–950 ramp

primary
#952182
secondary
#54BE65
accent
#E75C41
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #952182

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

Preview Lab → · Contrast checker → · Palette generator →

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