#8D52DE#8D52DE

#8D52DE is a mid, highly saturated violet. Relative luminance 0.170; OKLCH L 57.6% C 0.204 H 299.3°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8D52DE
RGBrgb(141, 82, 222)
HSLhsl(265, 68%, 60%)
HSVhsv(265, 63%, 87%)
CMYKcmyk(36.5%, 63.1%, 0%, 12.9%)
CIE-LABlab(48.22, 52.60, -62.65)
CIE-LCHlch(48.22, 81.80, 310.02°)
OKLaboklab(57.64% 0.0999 -0.1782)
OKLCHoklch(57.64% 0.204 299.3)
XYZxyz(27.1834, 16.9709, 70.9366)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D52DE #A3DE52
analogous
#525DDE #8D52DE #D352DE
triadic
#8D52DE #DE8D52 #52DE8D
tetradic
#8D52DE #DE525D #A3DE52 #52DED3
square
#8D52DE #DE525D #A3DE52 #52DED3
split-complementary
#8D52DE #DED352 #5DDE52
monochromatic
#511D99 #6C27CC #8D52DE #AF85E8 #D1B9F2

Accessibility & contrast

On white

4.78
#8D52DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8D52DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D52DE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D52DE#FFFFFF#000000##FFFFFF
##8D52DE1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#0D71DB
Tritanopia (blue-blind)
#7B7191
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d52de;
/* rgb */ color: rgb(141, 82, 222);
/* oklch */ color: oklch(57.6% 0.204 299.3);
Tailwind
colors: {
  custom: {
    50: '#b486e9',
    500: '#8d52de',
    950: '#000000',
  },
}
SCSS
$custom: #8d52de;
$custom-light: #b486e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d52de",
  "rgb": {
    "r": 141,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 265.286,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57639,
    "c": 0.20433,
    "h": 299.3
  },
  "luminance": 0.16971
}

Semantic roles & 50–950 ramp

primary
#8D52DE
secondary
#CAE1AB
accent
#EB3DA2
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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