#8052C2#8052C2

#8052C2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.4% C 0.169 H 299.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8052C2
RGBrgb(128, 82, 194)
HSLhsl(265, 48%, 54%)
HSVhsv(265, 58%, 76%)
CMYKcmyk(34%, 57.7%, 0%, 23.9%)
CIE-LABlab(44.97, 42.59, -51.90)
CIE-LCHlch(44.97, 67.14, 309.37°)
OKLaboklab(54.36% 0.0839 -0.1471)
OKLCHoklch(54.36% 0.169 299.7)
XYZxyz(21.6546, 14.5186, 52.6900)
Luminance0.1452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052C2 #94C252
analogous
#525CC2 #8052C2 #B852C2
triadic
#8052C2 #C28052 #52C280
tetradic
#8052C2 #C2525C #94C252 #52C2B8
square
#8052C2 #C2525C #94C252 #52C2B8
split-complementary
#8052C2 #C2B852 #5CC252
monochromatic
#462872 #62389F #8052C2 #A17FD2 #C2ACE2

Accessibility & contrast

On white

5.38
#8052C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8052C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052C2
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052C2#FFFFFF#000000##FFFFFF
##8052C21.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6AC6
Deuteranopia (green-blind)
#2F6ABF
Tritanopia (blue-blind)
#726982
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8052c2;
/* rgb */ color: rgb(128, 82, 194);
/* oklch */ color: oklch(54.4% 0.169 299.7);
Tailwind
colors: {
  custom: {
    50: '#a984d5',
    500: '#8052c2',
    950: '#000000',
  },
}
SCSS
$custom: #8052c2;
$custom-light: #a984d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8052c2",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 194
  },
  "hsl": {
    "h": 264.643,
    "s": 47.863,
    "l": 54.118
  },
  "oklch": {
    "l": 0.54361,
    "c": 0.16931,
    "h": 299.7
  },
  "luminance": 0.14519
}

Semantic roles & 50–950 ramp

primary
#8052C2
secondary
#BCD0A0
accent
#D750A0
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8052C2

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

Preview Lab → · Contrast checker → · Palette generator →

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