#8B52DF#8B52DF

#8B52DF is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.5% C 0.205 H 298.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8B52DF
RGBrgb(139, 82, 223)
HSLhsl(264, 69%, 60%)
HSVhsv(264, 63%, 87%)
CMYKcmyk(37.7%, 63.2%, 0%, 12.5%)
CIE-LABlab(48.07, 52.43, -63.47)
CIE-LCHlch(48.07, 82.33, 309.56°)
OKLaboklab(57.5% 0.0972 -0.1807)
OKLCHoklch(57.5% 0.205 298.3)
XYZxyz(26.9807, 16.8509, 71.6288)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B52DF #A6DF52
analogous
#5260DF #8B52DF #D152DF
triadic
#8B52DF #DF8B52 #52DF8B
tetradic
#8B52DF #DF5260 #A6DF52 #52DFD1
square
#8B52DF #DF5260 #A6DF52 #52DFD1
split-complementary
#8B52DF #DFD152 #60DF52
monochromatic
#4F1D9A #6A26CE #8B52DF #AE86E9 #D0B9F2

Accessibility & contrast

On white

4.81
#8B52DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8B52DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B52DF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B52DF#FFFFFF#000000##FFFFFF
##8B52DF1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#0071DC
Tritanopia (blue-blind)
#777291
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b52df;
/* rgb */ color: rgb(139, 82, 223);
/* oklch */ color: oklch(57.5% 0.205 298.3);
Tailwind
colors: {
  custom: {
    50: '#b286ea',
    500: '#8b52df',
    950: '#000000',
  },
}
SCSS
$custom: #8b52df;
$custom-light: #b286ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8b52df",
  "rgb": {
    "r": 139,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 264.255,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57501,
    "c": 0.2052,
    "h": 298.3
  },
  "luminance": 0.16851
}

Semantic roles & 50–950 ramp

primary
#8B52DF
secondary
#CCE2AB
accent
#EC3CA5
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B52DF

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

Preview Lab → · Contrast checker → · Palette generator →

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