#8952CB#8952CB

#8952CB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.9% C 0.182 H 301.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8952CB
RGBrgb(137, 82, 203)
HSLhsl(267, 54%, 56%)
HSVhsv(267, 60%, 80%)
CMYKcmyk(32.5%, 59.6%, 0%, 20.4%)
CIE-LABlab(46.53, 46.98, -54.54)
CIE-LCHlch(46.53, 71.98, 310.74°)
OKLaboklab(55.91% 0.0956 -0.1545)
OKLCHoklch(55.91% 0.182 301.8)
XYZxyz(24.1108, 15.6647, 58.2417)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952CB #94CB52
analogous
#5257CB #8952CB #C652CB
triadic
#8952CB #CB8952 #52CB89
tetradic
#8952CB #CB5257 #94CB52 #52CBC6
square
#8952CB #CB5257 #94CB52 #52CBC6
split-complementary
#8952CB #CBC652 #57CB52
monochromatic
#4D267D #6A34AC #8952CB #A981D9 #C9B0E7

Accessibility & contrast

On white

5.08
#8952CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8952CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952CB
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952CB#FFFFFF#000000##FFFFFF
##8952CB1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E6DCF
Deuteranopia (green-blind)
#2F6EC8
Tritanopia (blue-blind)
#7C6B87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8952cb;
/* rgb */ color: rgb(137, 82, 203);
/* oklch */ color: oklch(55.9% 0.182 301.8);
Tailwind
colors: {
  custom: {
    50: '#af85db',
    500: '#8952cb',
    950: '#000000',
  },
}
SCSS
$custom: #8952cb;
$custom-light: #af85db;
$custom-dark: #000000;
JSON
{
  "hex": "#8952cb",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 267.273,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55913,
    "c": 0.18171,
    "h": 301.8
  },
  "luminance": 0.15665
}

Semantic roles & 50–950 ramp

primary
#8952CB
secondary
#BFD5A3
accent
#DD4B9B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8952CB

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

Preview Lab → · Contrast checker → · Palette generator →

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