#8052BC#8052BC

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

Color values

HEX#8052BC
RGBrgb(128, 82, 188)
HSLhsl(266, 44%, 53%)
HSVhsv(266, 56%, 74%)
CMYKcmyk(31.9%, 56.4%, 0%, 26.3%)
CIE-LABlab(44.60, 41.06, -49.01)
CIE-LCHlch(44.60, 63.93, 309.95°)
OKLaboklab(53.97% 0.0838 -0.1386)
OKLCHoklch(53.97% 0.162 301.2)
XYZxyz(20.9944, 14.2545, 49.2125)
Luminance0.1426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052BC #8EBC52
analogous
#5259BC #8052BC #B552BC
triadic
#8052BC #BC8052 #52BC80
tetradic
#8052BC #BC5259 #8EBC52 #52BCB5
square
#8052BC #BC5259 #8EBC52 #52BCB5
split-complementary
#8052BC #BCB552 #59BC52
monochromatic
#45296A #623A97 #8052BC #A07ECD #C1AADE

Accessibility & contrast

On white

5.45
#8052BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8052BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052BC
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052BC#FFFFFF#000000##FFFFFF
##8052BC1.005.453.855.45
#FFFFFF5.451.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2569C0
Deuteranopia (green-blind)
#3669BA
Tritanopia (blue-blind)
#74677F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8052bc;
/* rgb */ color: rgb(128, 82, 188);
/* oklch */ color: oklch(54.0% 0.162 301.2);
Tailwind
colors: {
  custom: {
    50: '#a884d1',
    500: '#8052bc',
    950: '#000000',
  },
}
SCSS
$custom: #8052bc;
$custom-light: #a884d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8052bc",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 188
  },
  "hsl": {
    "h": 266.038,
    "s": 44.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.53968,
    "c": 0.16195,
    "h": 301.2
  },
  "luminance": 0.14255
}

Semantic roles & 50–950 ramp

primary
#8052BC
secondary
#B8CC9E
accent
#D4549C
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8052BC

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

Preview Lab → · Contrast checker → · Palette generator →

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