#8B52EC#8B52EC

#8B52EC is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.4% C 0.220 H 295.8°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8B52EC
RGBrgb(139, 82, 236)
HSLhsl(262, 80%, 62%)
HSVhsv(262, 65%, 93%)
CMYKcmyk(41.1%, 65.3%, 0%, 7.5%)
CIE-LABlab(48.98, 55.74, -69.34)
CIE-LCHlch(48.98, 88.97, 308.79°)
OKLaboklab(58.45% 0.0959 -0.198)
OKLCHoklch(58.45% 0.22 295.8)
XYZxyz(28.8011, 17.5791, 81.2163)
Luminance0.1758 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B52EC #B3EC52
analogous
#5266EC #8B52EC #D852EC
triadic
#8B52EC #EC8B52 #52EC8B
tetradic
#8B52EC #EC5266 #B3EC52 #52ECD8
square
#8B52EC #EC5266 #B3EC52 #52ECD8
split-complementary
#8B52EC #ECD852 #66EC52
monochromatic
#4D13B0 #661BE6 #8B52EC #B089F2 #D5C0F8

Accessibility & contrast

On white

4.65
#8B52EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8B52EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B52EC
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B52EC#FFFFFF#000000##FFFFFF
##8B52EC1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075F1
Deuteranopia (green-blind)
#0072E9
Tritanopia (blue-blind)
#727698
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8b52ec;
/* rgb */ color: rgb(139, 82, 236);
/* oklch */ color: oklch(58.4% 0.220 295.8);
Tailwind
colors: {
  custom: {
    50: '#b486f3',
    500: '#8b52ec',
    950: '#000000',
  },
}
SCSS
$custom: #8b52ec;
$custom-light: #b486f3;
$custom-dark: #000000;
JSON
{
  "hex": "#8b52ec",
  "rgb": {
    "r": 139,
    "g": 82,
    "b": 236
  },
  "hsl": {
    "h": 262.208,
    "s": 80.208,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58445,
    "c": 0.21997,
    "h": 295.8
  },
  "luminance": 0.1758
}

Semantic roles & 50–950 ramp

primary
#8B52EC
secondary
#D4E9B1
accent
#DD098E
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120B17
muted
#817C85

Preview Lab

Preview with #8B52EC

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

Preview Lab → · Contrast checker → · Palette generator →

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