#8D52EF#8D52EF

#8D52EF is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.9% C 0.224 H 296.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8D52EF
RGBrgb(141, 82, 239)
HSLhsl(263, 83%, 63%)
HSVhsv(263, 66%, 94%)
CMYKcmyk(41%, 65.7%, 0%, 6.3%)
CIE-LABlab(49.41, 56.89, -70.32)
CIE-LCHlch(49.41, 90.45, 308.97°)
OKLaboklab(58.87% 0.0982 -0.2008)
OKLCHoklch(58.87% 0.224 296.1)
XYZxyz(29.5777, 17.9287, 83.5469)
Luminance0.1793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52EF #B4EF52
analogous
#5265EF #8D52EF #DC52EF
triadic
#8D52EF #EF8D52 #52EF8D
tetradic
#8D52EF #EF5265 #B4EF52 #52EFDC
square
#8D52EF #EF5265 #B4EF52 #52EFDC
split-complementary
#8D52EF #EFDC52 #65EF52
monochromatic
#4F11B6 #681AEA #8D52EF #B28AF4 #D7C2F9

Accessibility & contrast

On white

4.58
#8D52EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8D52EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D52EF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52EF#FFFFFF#000000##000000
##8D52EF1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076F4
Deuteranopia (green-blind)
#0073EC
Tritanopia (blue-blind)
#74779A
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d52ef;
/* rgb */ color: rgb(141, 82, 239);
/* oklch */ color: oklch(58.9% 0.224 296.1);
Tailwind
colors: {
  custom: {
    50: '#b586f5',
    500: '#8d52ef',
    950: '#000000',
  },
}
SCSS
$custom: #8d52ef;
$custom-light: #b586f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52ef",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 262.548,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58869,
    "c": 0.22351,
    "h": 296.1
  },
  "luminance": 0.17929
}

Semantic roles & 50–950 ramp

primary
#8D52EF
secondary
#D5EBB2
accent
#DF068E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #8D52EF

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

Preview Lab → · Contrast checker → · Palette generator →

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