#8052FF#8052FF

#8052FF is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.9% C 0.241 H 289.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8052FF
RGBrgb(128, 82, 255)
HSLhsl(256, 100%, 66%)
HSVhsv(256, 68%, 100%)
CMYKcmyk(49.8%, 67.8%, 0%, 0%)
CIE-LABlab(49.30, 58.81, -79.49)
CIE-LCHlch(49.30, 98.88, 306.50°)
OKLaboklab(58.87% 0.0784 -0.2281)
OKLCHoklch(58.87% 0.241 289)
XYZxyz(29.9641, 17.8425, 96.4534)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052FF #D1FF52
analogous
#527AFF #8052FF #D752FF
triadic
#8052FF #FF8052 #52FF80
tetradic
#8052FF #FF527A #D1FF52 #52FFD7
square
#8052FF #FF527A #D1FF52 #52FFD7
split-complementary
#8052FF #FFD752 #7AFF52
monochromatic
#3900D7 #5315FF #8052FF #AD8FFF #DACCFF

Accessibility & contrast

On white

4.60
#8052FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8052FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8052FF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052FF#FFFFFF#000000##FFFFFF
##8052FF1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0071FC
Tritanopia (blue-blind)
#537EA2
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8052ff;
/* rgb */ color: rgb(128, 82, 255);
/* oklch */ color: oklch(58.9% 0.241 289.0);
Tailwind
colors: {
  custom: {
    50: '#af86ff',
    500: '#8052ff',
    950: '#000000',
  },
}
SCSS
$custom: #8052ff;
$custom-light: #af86ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8052ff",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 255.954,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.58865,
    "c": 0.24124,
    "h": 289
  },
  "luminance": 0.17844
}

Semantic roles & 50–950 ramp

primary
#8052FF
secondary
#E4F3BA
accent
#E600A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8052FF

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

Preview Lab → · Contrast checker → · Palette generator →

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