#952186#952186

#952186 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.6% C 0.185 H 334.1°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#952186
RGBrgb(149, 33, 134)
HSLhsl(308, 64%, 36%)
HSVhsv(308, 78%, 58%)
CMYKcmyk(0%, 77.9%, 10.1%, 41.6%)
CIE-LABlab(36.37, 57.32, -29.54)
CIE-LCHlch(36.37, 64.49, 332.74°)
OKLaboklab(47.6% 0.1665 -0.081)
OKLCHoklch(47.6% 0.185 334.1)
XYZxyz(17.2415, 9.2000, 23.4174)
Luminance0.0920 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952186 #219530
analogous
#6A2195 #952186 #95214C
triadic
#952186 #869521 #218695
tetradic
#952186 #956A21 #219530 #214C95
square
#952186 #956A21 #219530 #214C95
split-complementary
#952186 #4C9521 #21956A
monochromatic
#310B2C #631659 #952186 #C72CB3 #DA57C9

Accessibility & contrast

On white

7.39
#952186 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#952186 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952186
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952186#FFFFFF#000000##FFFFFF
##9521861.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #952186;
/* rgb */ color: rgb(149, 33, 134);
/* oklch */ color: oklch(47.6% 0.185 334.1);
Tailwind
colors: {
  custom: {
    50: '#b86aa9',
    500: '#952186',
    950: '#000000',
  },
}
SCSS
$custom: #952186;
$custom-light: #b86aa9;
$custom-dark: #000000;
JSON
{
  "hex": "#952186",
  "rgb": {
    "r": 149,
    "g": 33,
    "b": 134
  },
  "hsl": {
    "h": 307.759,
    "s": 63.736,
    "l": 35.686
  },
  "oklch": {
    "l": 0.47601,
    "c": 0.18514,
    "h": 334.1
  },
  "luminance": 0.09199
}

Semantic roles & 50–950 ramp

primary
#952186
secondary
#54BE62
accent
#E75641
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #952186

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

Preview Lab → · Contrast checker → · Palette generator →

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