#8052AF#8052AF

#8052AF is a mid, vivid violet. Relative luminance 0.137; OKLCH L 53.2% C 0.146 H 304.8°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#8052AF
RGBrgb(128, 82, 175)
HSLhsl(270, 37%, 50%)
HSVhsv(270, 53%, 69%)
CMYKcmyk(26.9%, 53.1%, 0%, 31.4%)
CIE-LABlab(43.83, 37.80, -42.62)
CIE-LCHlch(43.83, 56.97, 311.57°)
OKLaboklab(53.15% 0.0832 -0.1199)
OKLCHoklch(53.15% 0.146 304.8)
XYZxyz(19.6556, 13.7190, 42.1617)
Luminance0.1372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052AF #81AF52
analogous
#5252AF #8052AF #AE52AF
triadic
#8052AF #AF8052 #52AF80
tetradic
#8052AF #AF5252 #81AF52 #52AFAE
square
#8052AF #AF5252 #81AF52 #52AFAE
split-complementary
#8052AF #AFAE52 #52AF52
monochromatic
#432B5C #623E86 #8052AF #9F7CC2 #BDA6D6

Accessibility & contrast

On white

5.61
#8052AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8052AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052AF
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052AF#FFFFFF#000000##FFFFFF
##8052AF1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3466B2
Deuteranopia (green-blind)
#4268AD
Tritanopia (blue-blind)
#786379
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8052af;
/* rgb */ color: rgb(128, 82, 175);
/* oklch */ color: oklch(53.2% 0.146 304.8);
Tailwind
colors: {
  custom: {
    50: '#a784c7',
    500: '#8052af',
    950: '#000000',
  },
}
SCSS
$custom: #8052af;
$custom-light: #a784c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8052af",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 175
  },
  "hsl": {
    "h": 269.677,
    "s": 36.759,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53153,
    "c": 0.14593,
    "h": 304.8
  },
  "luminance": 0.13719
}

Semantic roles & 50–950 ramp

primary
#8052AF
secondary
#AFC39A
accent
#CD5B95
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8052AF

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

Preview Lab → · Contrast checker → · Palette generator →

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