#8052DF#8052DF

#8052DF is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.4% C 0.204 H 293.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8052DF
RGBrgb(128, 82, 223)
HSLhsl(260, 69%, 60%)
HSVhsv(260, 63%, 87%)
CMYKcmyk(42.6%, 63.2%, 0%, 12.5%)
CIE-LABlab(46.91, 50.20, -65.41)
CIE-LCHlch(46.91, 82.45, 307.50°)
OKLaboklab(56.39% 0.0825 -0.1868)
OKLCHoklch(56.39% 0.204 293.8)
XYZxyz(25.2351, 15.9508, 71.5470)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052DF #B1DF52
analogous
#526BDF #8052DF #C652DF
triadic
#8052DF #DF8052 #52DF80
tetradic
#8052DF #DF526B #B1DF52 #52DFC6
square
#8052DF #DF526B #B1DF52 #52DFC6
split-complementary
#8052DF #DFC652 #6BDF52
monochromatic
#451D9A #5D26CE #8052DF #A686E9 #CCB9F2

Accessibility & contrast

On white

5.01
#8052DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8052DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052DF
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052DF#FFFFFF#000000##FFFFFF
##8052DF1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E3
Deuteranopia (green-blind)
#006DDC
Tritanopia (blue-blind)
#667391
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8052df;
/* rgb */ color: rgb(128, 82, 223);
/* oklch */ color: oklch(56.4% 0.204 293.8);
Tailwind
colors: {
  custom: {
    50: '#ab85ea',
    500: '#8052df',
    950: '#000000',
  },
}
SCSS
$custom: #8052df;
$custom-light: #ab85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8052df",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 259.574,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.56393,
    "c": 0.2042,
    "h": 293.8
  },
  "luminance": 0.15951
}

Semantic roles & 50–950 ramp

primary
#8052DF
secondary
#D0E2AB
accent
#EC3CB2
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8052DF

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

Preview Lab → · Contrast checker → · Palette generator →

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