#8D52E0#8D52E0

#8D52E0 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.207 H 298.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#8D52E0
RGBrgb(141, 82, 224)
HSLhsl(265, 70%, 60%)
HSVhsv(265, 63%, 88%)
CMYKcmyk(37.1%, 63.4%, 0%, 12.2%)
CIE-LABlab(48.36, 53.10, -63.57)
CIE-LCHlch(48.36, 82.83, 309.87°)
OKLaboklab(57.78% 0.0998 -0.1809)
OKLCHoklch(57.78% 0.207 298.9)
XYZxyz(27.4530, 17.0788, 72.3567)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52E0 #A5E052
analogous
#525EE0 #8D52E0 #D452E0
triadic
#8D52E0 #E08D52 #52E08D
tetradic
#8D52E0 #E0525E #A5E052 #52E0D4
square
#8D52E0 #E0525E #A5E052 #52E0D4
split-complementary
#8D52E0 #E0D452 #5EE052
monochromatic
#511C9C #6C25D0 #8D52E0 #AF86E9 #D1BAF3

Accessibility & contrast

On white

4.76
#8D52E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8D52E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52E0
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52E0#FFFFFF#000000##FFFFFF
##8D52E01.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#0271DD
Tritanopia (blue-blind)
#7A7292
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8d52e0;
/* rgb */ color: rgb(141, 82, 224);
/* oklch */ color: oklch(57.8% 0.207 298.9);
Tailwind
colors: {
  custom: {
    50: '#b486eb',
    500: '#8d52e0',
    950: '#000000',
  },
}
SCSS
$custom: #8d52e0;
$custom-light: #b486eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52e0",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 224
  },
  "hsl": {
    "h": 264.93,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.5778,
    "c": 0.2066,
    "h": 298.9
  },
  "luminance": 0.17079
}

Semantic roles & 50–950 ramp

primary
#8D52E0
secondary
#CCE2AC
accent
#EC3BA3
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D52E0

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

Preview Lab → · Contrast checker → · Palette generator →

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