#8B52DE#8B52DE

#8B52DE is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.204 H 298.5°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8B52DE
RGBrgb(139, 82, 222)
HSLhsl(264, 68%, 60%)
HSVhsv(264, 63%, 87%)
CMYKcmyk(37.4%, 63.1%, 0%, 12.9%)
CIE-LABlab(48.00, 52.18, -63.02)
CIE-LCHlch(48.00, 81.82, 309.63°)
OKLaboklab(57.43% 0.0973 -0.1794)
OKLCHoklch(57.43% 0.204 298.5)
XYZxyz(26.8463, 16.7971, 70.9208)
Luminance0.1680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B52DE #A5DE52
analogous
#525FDE #8B52DE #D152DE
triadic
#8B52DE #DE8B52 #52DE8B
tetradic
#8B52DE #DE525F #A5DE52 #52DED1
square
#8B52DE #DE525F #A5DE52 #52DED1
split-complementary
#8B52DE #DED152 #5FDE52
monochromatic
#4F1D99 #6A27CC #8B52DE #AD85E8 #D0B9F2

Accessibility & contrast

On white

4.82
#8B52DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8B52DE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B52DE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B52DE#FFFFFF#000000##FFFFFF
##8B52DE1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E2
Deuteranopia (green-blind)
#0371DB
Tritanopia (blue-blind)
#787191
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b52de;
/* rgb */ color: rgb(139, 82, 222);
/* oklch */ color: oklch(57.4% 0.204 298.5);
Tailwind
colors: {
  custom: {
    50: '#b286e9',
    500: '#8b52de',
    950: '#000000',
  },
}
SCSS
$custom: #8b52de;
$custom-light: #b286e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b52de",
  "rgb": {
    "r": 139,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 264.429,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5743,
    "c": 0.20405,
    "h": 298.5
  },
  "luminance": 0.16797
}

Semantic roles & 50–950 ramp

primary
#8B52DE
secondary
#CBE1AB
accent
#EB3DA4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B52DE

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

Preview Lab → · Contrast checker → · Palette generator →

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