#8952CA#8952CA

#8952CA is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.8% C 0.181 H 302.0°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8952CA
RGBrgb(137, 82, 202)
HSLhsl(268, 53%, 56%)
HSVhsv(268, 59%, 79%)
CMYKcmyk(32.2%, 59.4%, 0%, 20.8%)
CIE-LABlab(46.47, 46.73, -54.06)
CIE-LCHlch(46.47, 71.46, 310.84°)
OKLaboklab(55.85% 0.0956 -0.1531)
OKLCHoklch(55.85% 0.181 302)
XYZxyz(23.9920, 15.6172, 57.6161)
Luminance0.1562 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952CA #93CA52
analogous
#5257CA #8952CA #C552CA
triadic
#8952CA #CA8952 #52CA89
tetradic
#8952CA #CA5257 #93CA52 #52CAC5
square
#8952CA #CA5257 #93CA52 #52CAC5
split-complementary
#8952CA #CAC552 #57CA52
monochromatic
#4D267C #6A34AB #8952CA #A981D8 #C9B0E7

Accessibility & contrast

On white

5.09
#8952CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8952CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952CA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952CA#FFFFFF#000000##FFFFFF
##8952CA1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126DCE
Deuteranopia (green-blind)
#306EC7
Tritanopia (blue-blind)
#7C6B86
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8952ca;
/* rgb */ color: rgb(137, 82, 202);
/* oklch */ color: oklch(55.8% 0.181 302.0);
Tailwind
colors: {
  custom: {
    50: '#af85db',
    500: '#8952ca',
    950: '#000000',
  },
}
SCSS
$custom: #8952ca;
$custom-light: #af85db;
$custom-dark: #000000;
JSON
{
  "hex": "#8952ca",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 202
  },
  "hsl": {
    "h": 267.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.55846,
    "c": 0.18053,
    "h": 302
  },
  "luminance": 0.15617
}

Semantic roles & 50–950 ramp

primary
#8952CA
secondary
#BED5A3
accent
#DD4B9A
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8952CA

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

Preview Lab → · Contrast checker → · Palette generator →

#8952CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva