#8052B2#8052B2

#8052B2 is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.3% C 0.150 H 303.9°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8052B2
RGBrgb(128, 82, 178)
HSLhsl(269, 38%, 51%)
HSVhsv(269, 54%, 70%)
CMYKcmyk(28.1%, 53.9%, 0%, 30.2%)
CIE-LABlab(44.00, 38.54, -44.11)
CIE-LCHlch(44.00, 58.58, 311.15°)
OKLaboklab(53.34% 0.0834 -0.1242)
OKLCHoklch(53.34% 0.15 303.9)
XYZxyz(19.9535, 13.8382, 43.7307)
Luminance0.1384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052B2 #84B252
analogous
#5254B2 #8052B2 #B052B2
triadic
#8052B2 #B28052 #52B280
tetradic
#8052B2 #B25254 #84B252 #52B2B0
square
#8052B2 #B25254 #84B252 #52B2B0
split-complementary
#8052B2 #B2B052 #54B252
monochromatic
#442A5F #623D8A #8052B2 #9F7CC5 #BEA7D8

Accessibility & contrast

On white

5.57
#8052B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#8052B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052B2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052B2#FFFFFF#000000##FFFFFF
##8052B21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3167B5
Deuteranopia (green-blind)
#3F68B0
Tritanopia (blue-blind)
#77647A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8052b2;
/* rgb */ color: rgb(128, 82, 178);
/* oklch */ color: oklch(53.3% 0.150 303.9);
Tailwind
colors: {
  custom: {
    50: '#a884c9',
    500: '#8052b2',
    950: '#000000',
  },
}
SCSS
$custom: #8052b2;
$custom-light: #a884c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8052b2",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 178
  },
  "hsl": {
    "h": 268.75,
    "s": 38.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53337,
    "c": 0.14964,
    "h": 303.9
  },
  "luminance": 0.13838
}

Semantic roles & 50–950 ramp

primary
#8052B2
secondary
#B1C59B
accent
#CE5996
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8052B2

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

Preview Lab → · Contrast checker → · Palette generator →

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