#952486#952486

#952486 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.8% C 0.182 H 334.1°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#952486
RGBrgb(149, 36, 134)
HSLhsl(308, 61%, 36%)
HSVhsv(308, 76%, 58%)
CMYKcmyk(0%, 75.8%, 10.1%, 41.6%)
CIE-LABlab(36.69, 56.38, -29.02)
CIE-LCHlch(36.69, 63.41, 332.76°)
OKLaboklab(47.84% 0.1637 -0.0795)
OKLCHoklch(47.84% 0.182 334.1)
XYZxyz(17.3285, 9.3741, 23.4464)
Luminance0.0937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#952486 #249533
analogous
#6C2495 #952486 #95244E
triadic
#952486 #869524 #248695
tetradic
#952486 #956C24 #249533 #244E95
square
#952486 #956C24 #249533 #244E95
split-complementary
#952486 #4E9524 #24956C
monochromatic
#320C2D #64185A #952486 #C630B2 #D85CC7

Accessibility & contrast

On white

7.31
#952486 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#952486 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #952486
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##952486#FFFFFF#000000##FFFFFF
##9524861.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214C89
Deuteranopia (green-blind)
#4B5C83
Tritanopia (blue-blind)
#9C2F53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #952486;
/* rgb */ color: rgb(149, 36, 134);
/* oklch */ color: oklch(47.8% 0.182 334.1);
Tailwind
colors: {
  custom: {
    50: '#b86ba9',
    500: '#952486',
    950: '#000000',
  },
}
SCSS
$custom: #952486;
$custom-light: #b86ba9;
$custom-dark: #000000;
JSON
{
  "hex": "#952486",
  "rgb": {
    "r": 149,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 307.965,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.47837,
    "c": 0.18201,
    "h": 334.1
  },
  "luminance": 0.09373
}

Semantic roles & 50–950 ramp

primary
#952486
secondary
#59BC66
accent
#E45944
background
#FBF6FA
surface
#F6ECF4
border
#D0C7CE
text
#120710
muted
#817A7F

Preview Lab

Preview with #952486

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

Preview Lab → · Contrast checker → · Palette generator →

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