#8D52E5#8D52E5

#8D52E5 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.1% C 0.212 H 297.9°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8D52E5
RGBrgb(141, 82, 229)
HSLhsl(264, 74%, 61%)
HSVhsv(264, 64%, 90%)
CMYKcmyk(38.4%, 64.2%, 0%, 10.2%)
CIE-LABlab(48.70, 54.36, -65.84)
CIE-LCHlch(48.70, 85.38, 309.54°)
OKLaboklab(58.14% 0.0993 -0.1876)
OKLCHoklch(58.14% 0.212 297.9)
XYZxyz(28.1411, 17.3540, 75.9806)
Luminance0.1735 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52E5 #AAE552
analogous
#5260E5 #8D52E5 #D752E5
triadic
#8D52E5 #E58D52 #52E58D
tetradic
#8D52E5 #E55260 #AAE552 #52E5D7
square
#8D52E5 #E55260 #AAE552 #52E5D7
split-complementary
#8D52E5 #E5D752 #60E552
monochromatic
#5119A4 #6B21D9 #8D52E5 #B087ED #D3BCF5

Accessibility & contrast

On white

4.70
#8D52E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8D52E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52E5
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52E5#FFFFFF#000000##FFFFFF
##8D52E51.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#787494
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8d52e5;
/* rgb */ color: rgb(141, 82, 229);
/* oklch */ color: oklch(58.1% 0.212 297.9);
Tailwind
colors: {
  custom: {
    50: '#b486ee',
    500: '#8d52e5',
    950: '#000000',
  },
}
SCSS
$custom: #8d52e5;
$custom-light: #b486ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52e5",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 229
  },
  "hsl": {
    "h": 264.082,
    "s": 73.869,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58138,
    "c": 0.21226,
    "h": 297.9
  },
  "luminance": 0.17354
}

Semantic roles & 50–950 ramp

primary
#8D52E5
secondary
#CFE5AE
accent
#D61086
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D52E5

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

Preview Lab → · Contrast checker → · Palette generator →

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