#8B52AF#8B52AF

#8B52AF is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.4% C 0.149 H 310.7°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8B52AF
RGBrgb(139, 82, 175)
HSLhsl(277, 37%, 50%)
HSVhsv(277, 53%, 69%)
CMYKcmyk(20.6%, 53.1%, 0%, 31.4%)
CIE-LABlab(45.11, 40.79, -40.51)
CIE-LCHlch(45.11, 57.49, 315.20°)
OKLaboklab(54.39% 0.0974 -0.1134)
OKLCHoklch(54.39% 0.149 310.7)
XYZxyz(21.4012, 14.6191, 42.2435)
Luminance0.1462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B52AF #76AF52
analogous
#5C52AF #8B52AF #AF52A5
triadic
#8B52AF #AF8B52 #52AF8B
tetradic
#8B52AF #AF5C52 #76AF52 #52A5AF
square
#8B52AF #AF5C52 #76AF52 #52A5AF
split-complementary
#8B52AF #A5AF52 #52AF5C
monochromatic
#492B5C #6A3E86 #8B52AF #A77CC2 #C3A6D6

Accessibility & contrast

On white

5.35
#8B52AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8B52AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B52AF
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B52AF#FFFFFF#000000##FFFFFF
##8B52AF1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3968B2
Deuteranopia (green-blind)
#4B6CAD
Tritanopia (blue-blind)
#876279
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8b52af;
/* rgb */ color: rgb(139, 82, 175);
/* oklch */ color: oklch(54.4% 0.149 310.7);
Tailwind
colors: {
  custom: {
    50: '#af85c7',
    500: '#8b52af',
    950: '#000000',
  },
}
SCSS
$custom: #8b52af;
$custom-light: #af85c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b52af",
  "rgb": {
    "r": 139,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 276.774,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54386,
    "c": 0.14947,
    "h": 310.7
  },
  "luminance": 0.14619
}

Semantic roles & 50–950 ramp

primary
#8B52AF
secondary
#AAC39A
accent
#CD5B87
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8B52AF

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

Preview Lab → · Contrast checker → · Palette generator →

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