#8952CC#8952CC

#8952CC is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.0% C 0.183 H 301.5°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8952CC
RGBrgb(137, 82, 204)
HSLhsl(267, 54%, 56%)
HSVhsv(267, 60%, 80%)
CMYKcmyk(32.8%, 59.8%, 0%, 20%)
CIE-LABlab(46.59, 47.23, -55.01)
CIE-LCHlch(46.59, 72.51, 310.65°)
OKLaboklab(55.98% 0.0956 -0.1559)
OKLCHoklch(55.98% 0.183 301.5)
XYZxyz(24.2303, 15.7125, 58.8713)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8952CC #95CC52
analogous
#5258CC #8952CC #C652CC
triadic
#8952CC #CC8952 #52CC89
tetradic
#8952CC #CC5258 #95CC52 #52CCC6
square
#8952CC #CC5258 #95CC52 #52CCC6
split-complementary
#8952CC #CCC652 #58CC52
monochromatic
#4D257E #6A33AE #8952CC #A981DA #C9B1E8

Accessibility & contrast

On white

5.07
#8952CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8952CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8952CC
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8952CC#FFFFFF#000000##FFFFFF
##8952CC1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6ED0
Deuteranopia (green-blind)
#2E6EC9
Tritanopia (blue-blind)
#7B6B87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8952cc;
/* rgb */ color: rgb(137, 82, 204);
/* oklch */ color: oklch(56.0% 0.183 301.5);
Tailwind
colors: {
  custom: {
    50: '#af85dc',
    500: '#8952cc',
    950: '#000000',
  },
}
SCSS
$custom: #8952cc;
$custom-light: #af85dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8952cc",
  "rgb": {
    "r": 137,
    "g": 82,
    "b": 204
  },
  "hsl": {
    "h": 267.049,
    "s": 54.464,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55979,
    "c": 0.18288,
    "h": 301.5
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

primary
#8952CC
secondary
#BFD6A4
accent
#DE4A9B
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8952CC

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

Preview Lab → · Contrast checker → · Palette generator →

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