#8D52CB#8D52CB

#8D52CB is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.3% C 0.183 H 303.5°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8D52CB
RGBrgb(141, 82, 203)
HSLhsl(269, 54%, 56%)
HSVhsv(269, 60%, 80%)
CMYKcmyk(30.5%, 59.6%, 0%, 20.4%)
CIE-LABlab(46.99, 47.92, -53.78)
CIE-LCHlch(46.99, 72.03, 311.70°)
OKLaboklab(56.35% 0.1009 -0.1522)
OKLCHoklch(56.35% 0.183 303.5)
XYZxyz(24.7789, 16.0091, 58.2730)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52CB #90CB52
analogous
#5253CB #8D52CB #C952CB
triadic
#8D52CB #CB8D52 #52CB8D
tetradic
#8D52CB #CB5253 #90CB52 #52CBC9
square
#8D52CB #CB5253 #90CB52 #52CBC9
split-complementary
#8D52CB #CBC952 #53CB52
monochromatic
#50267D #6E34AC #8D52CB #AC81D9 #CBB0E7

Accessibility & contrast

On white

5.00
#8D52CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#8D52CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52CB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52CB#FFFFFF#000000##FFFFFF
##8D52CB1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146ECF
Deuteranopia (green-blind)
#346FC8
Tritanopia (blue-blind)
#816B87
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d52cb;
/* rgb */ color: rgb(141, 82, 203);
/* oklch */ color: oklch(56.3% 0.183 303.5);
Tailwind
colors: {
  custom: {
    50: '#b285db',
    500: '#8d52cb',
    950: '#000000',
  },
}
SCSS
$custom: #8d52cb;
$custom-light: #b285db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52cb",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 269.256,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56347,
    "c": 0.18256,
    "h": 303.5
  },
  "luminance": 0.16009
}

Semantic roles & 50–950 ramp

primary
#8D52CB
secondary
#BDD5A3
accent
#DD4B96
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D52CB

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

Preview Lab → · Contrast checker → · Palette generator →

#8D52CB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva