#952286#952286

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

Color values

HEX#952286
RGBrgb(149, 34, 134)
HSLhsl(308, 63%, 36%)
HSVhsv(308, 77%, 58%)
CMYKcmyk(0%, 77.2%, 10.1%, 41.6%)
CIE-LABlab(36.47, 57.02, -29.37)
CIE-LCHlch(36.47, 64.14, 332.74°)
OKLaboklab(47.68% 0.1656 -0.0805)
OKLCHoklch(47.68% 0.184 334.1)
XYZxyz(17.2697, 9.2564, 23.4268)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952286 #229531
analogous
#6A2295 #952286 #95224C
triadic
#952286 #869522 #228695
tetradic
#952286 #956A22 #229531 #224C95
square
#952286 #956A22 #229531 #224C95
split-complementary
#952286 #4C9522 #22956A
monochromatic
#310B2C #631759 #952286 #C72DB3 #D958C8

Accessibility & contrast

On white

7.37
#952286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #952286
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952286#FFFFFF#000000##FFFFFF
##9522861.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#4B5C83
Tritanopia (blue-blind)
#9C2D52
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #952286;
/* rgb */ color: rgb(149, 34, 134);
/* oklch */ color: oklch(47.7% 0.184 334.1);
Tailwind
colors: {
  custom: {
    50: '#b86aa9',
    500: '#952286',
    950: '#000000',
  },
}
SCSS
$custom: #952286;
$custom-light: #b86aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#952286",
  "rgb": {
    "r": 149,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 307.826,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.47678,
    "c": 0.18412,
    "h": 334.1
  },
  "luminance": 0.09255
}

Semantic roles & 50–950 ramp

primary
#952286
secondary
#56BD63
accent
#E65742
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #952286

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

Preview Lab → · Contrast checker → · Palette generator →

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