#8D52CF#8D52CF

#8D52CF is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.187 H 302.6°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#8D52CF
RGBrgb(141, 82, 207)
HSLhsl(268, 57%, 57%)
HSVhsv(268, 60%, 81%)
CMYKcmyk(31.9%, 60.4%, 0%, 18.8%)
CIE-LABlab(47.24, 48.89, -55.68)
CIE-LCHlch(47.24, 74.10, 311.29°)
OKLaboklab(56.61% 0.1008 -0.1577)
OKLCHoklch(56.61% 0.187 302.6)
XYZxyz(25.2617, 16.2023, 60.8159)
Luminance0.1620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52CF #94CF52
analogous
#5256CF #8D52CF #CC52CF
triadic
#8D52CF #CF8D52 #52CF8D
tetradic
#8D52CF #CF5256 #94CF52 #52CFCC
square
#8D52CF #CF5256 #94CF52 #52CFCC
split-complementary
#8D52CF #CFCC52 #56CF52
monochromatic
#512482 #6E31B2 #8D52CF #AD82DC #CCB2EA

Accessibility & contrast

On white

4.95
#8D52CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8D52CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52CF
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52CF#FFFFFF#000000##FFFFFF
##8D52CF1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#056FD3
Deuteranopia (green-blind)
#2F70CC
Tritanopia (blue-blind)
#806C89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d52cf;
/* rgb */ color: rgb(141, 82, 207);
/* oklch */ color: oklch(56.6% 0.187 302.6);
Tailwind
colors: {
  custom: {
    50: '#b285de',
    500: '#8d52cf',
    950: '#000000',
  },
}
SCSS
$custom: #8d52cf;
$custom-light: #b285de;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52cf",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 207
  },
  "hsl": {
    "h": 268.32,
    "s": 56.561,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56611,
    "c": 0.18716,
    "h": 302.6
  },
  "luminance": 0.16202
}

Semantic roles & 50–950 ramp

primary
#8D52CF
secondary
#C0D8A5
accent
#E04898
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D52CF

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

Preview Lab → · Contrast checker → · Palette generator →

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