#952282#952282

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

Color values

HEX#952282
RGBrgb(149, 34, 130)
HSLhsl(310, 63%, 36%)
HSVhsv(310, 77%, 58%)
CMYKcmyk(0%, 77.2%, 12.8%, 41.6%)
CIE-LABlab(36.27, 56.41, -27.22)
CIE-LCHlch(36.27, 62.63, 334.24°)
OKLaboklab(47.46% 0.1653 -0.0743)
OKLCHoklch(47.46% 0.181 335.8)
XYZxyz(16.9960, 9.1469, 21.9852)
Luminance0.0915 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952282 #229535
analogous
#6E2295 #952282 #952248
triadic
#952282 #829522 #228295
tetradic
#952282 #956E22 #229535 #224895
square
#952282 #956E22 #229535 #224895
split-complementary
#952282 #489522 #22956E
monochromatic
#310B2B #631757 #952282 #C72DAD #D958C4

Accessibility & contrast

On white

7.42
#952282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#952282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952282
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952282#FFFFFF#000000##FFFFFF
##9522821.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A85
Deuteranopia (green-blind)
#4D5B7F
Tritanopia (blue-blind)
#9D2B50
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #952282;
/* rgb */ color: rgb(149, 34, 130);
/* oklch */ color: oklch(47.5% 0.181 335.8);
Tailwind
colors: {
  custom: {
    50: '#b86aa6',
    500: '#952282',
    950: '#000000',
  },
}
SCSS
$custom: #952282;
$custom-light: #b86aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#952282",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 309.913,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47461,
    "c": 0.18124,
    "h": 335.8
  },
  "luminance": 0.09145
}

Semantic roles & 50–950 ramp

primary
#952282
secondary
#56BD67
accent
#E65D42
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#12070F
muted
#817A7F

Preview Lab

Preview with #952282

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

Preview Lab → · Contrast checker → · Palette generator →

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