#8052BD#8052BD

#8052BD is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.0% C 0.163 H 300.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#8052BD
RGBrgb(128, 82, 189)
HSLhsl(266, 45%, 53%)
HSVhsv(266, 57%, 74%)
CMYKcmyk(32.3%, 56.6%, 0%, 25.9%)
CIE-LABlab(44.66, 41.31, -49.49)
CIE-LCHlch(44.66, 64.47, 309.85°)
OKLaboklab(54.03% 0.0838 -0.14)
OKLCHoklch(54.03% 0.163 300.9)
XYZxyz(21.1025, 14.2978, 49.7822)
Luminance0.1430 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052BD #8FBD52
analogous
#5259BD #8052BD #B552BD
triadic
#8052BD #BD8052 #52BD80
tetradic
#8052BD #BD5259 #8FBD52 #52BDB5
square
#8052BD #BD5259 #8FBD52 #52BDB5
split-complementary
#8052BD #BDB552 #59BD52
monochromatic
#46296C #623A98 #8052BD #A17ECE #C1ABDF

Accessibility & contrast

On white

5.44
#8052BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#8052BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052BD
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052BD#FFFFFF#000000##FFFFFF
##8052BD1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2469C1
Deuteranopia (green-blind)
#3569BB
Tritanopia (blue-blind)
#74677F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8052bd;
/* rgb */ color: rgb(128, 82, 189);
/* oklch */ color: oklch(54.0% 0.163 300.9);
Tailwind
colors: {
  custom: {
    50: '#a884d1',
    500: '#8052bd',
    950: '#000000',
  },
}
SCSS
$custom: #8052bd;
$custom-light: #a884d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8052bd",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 189
  },
  "hsl": {
    "h": 265.794,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54033,
    "c": 0.16318,
    "h": 300.9
  },
  "luminance": 0.14298
}

Semantic roles & 50–950 ramp

primary
#8052BD
secondary
#B9CC9E
accent
#D4539D
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8052BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8052BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva