#8052C8#8052C8

#8052C8 is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.8% C 0.177 H 298.3°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#8052C8
RGBrgb(128, 82, 200)
HSLhsl(263, 52%, 55%)
HSVhsv(263, 59%, 78%)
CMYKcmyk(36%, 59%, 0%, 21.6%)
CIE-LABlab(45.35, 44.14, -54.76)
CIE-LCHlch(45.35, 70.33, 308.87°)
OKLaboklab(54.76% 0.0838 -0.1554)
OKLCHoklch(54.76% 0.177 298.3)
XYZxyz(22.3421, 14.7936, 56.3107)
Luminance0.1479 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052C8 #9AC852
analogous
#525FC8 #8052C8 #BB52C8
triadic
#8052C8 #C88052 #52C880
tetradic
#8052C8 #C8525F #9AC852 #52C8BB
square
#8052C8 #C8525F #9AC852 #52C8BB
split-complementary
#8052C8 #C8BB52 #5FC852
monochromatic
#472779 #6235A8 #8052C8 #A280D7 #C4AFE6

Accessibility & contrast

On white

5.30
#8052C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#8052C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052C8
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052C8#FFFFFF#000000##FFFFFF
##8052C81.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B6BCC
Deuteranopia (green-blind)
#276AC5
Tritanopia (blue-blind)
#706B85
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8052c8;
/* rgb */ color: rgb(128, 82, 200);
/* oklch */ color: oklch(54.8% 0.177 298.3);
Tailwind
colors: {
  custom: {
    50: '#a984d9',
    500: '#8052c8',
    950: '#000000',
  },
}
SCSS
$custom: #8052c8;
$custom-light: #a984d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8052c8",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 200
  },
  "hsl": {
    "h": 263.39,
    "s": 51.754,
    "l": 55.294
  },
  "oklch": {
    "l": 0.54763,
    "c": 0.17662,
    "h": 298.3
  },
  "luminance": 0.14794
}

Semantic roles & 50–950 ramp

primary
#8052C8
secondary
#C0D4A2
accent
#DB4DA4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8052C8

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

Preview Lab → · Contrast checker → · Palette generator →

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