#8052BE#8052BE

#8052BE is a mid, vivid violet. Relative luminance 0.143; OKLCH L 54.1% C 0.164 H 300.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#8052BE
RGBrgb(128, 82, 190)
HSLhsl(266, 45%, 53%)
HSVhsv(266, 57%, 75%)
CMYKcmyk(32.6%, 56.8%, 0%, 25.5%)
CIE-LABlab(44.72, 41.56, -49.98)
CIE-LCHlch(44.72, 65.00, 309.75°)
OKLaboklab(54.1% 0.0839 -0.1414)
OKLCHoklch(54.1% 0.164 300.7)
XYZxyz(21.2114, 14.3414, 50.3559)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052BE #90BE52
analogous
#525ABE #8052BE #B652BE
triadic
#8052BE #BE8052 #52BE80
tetradic
#8052BE #BE525A #90BE52 #52BEB6
square
#8052BE #BE525A #90BE52 #52BEB6
split-complementary
#8052BE #BEB652 #5ABE52
monochromatic
#46296D #623A99 #8052BE #A17ECF #C1ABDF

Accessibility & contrast

On white

5.43
#8052BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8052BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052BE
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052BE#FFFFFF#000000##FFFFFF
##8052BE1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2269C2
Deuteranopia (green-blind)
#3469BC
Tritanopia (blue-blind)
#736880
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8052be;
/* rgb */ color: rgb(128, 82, 190);
/* oklch */ color: oklch(54.1% 0.164 300.7);
Tailwind
colors: {
  custom: {
    50: '#a884d2',
    500: '#8052be',
    950: '#000000',
  },
}
SCSS
$custom: #8052be;
$custom-light: #a884d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8052be",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 265.556,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54098,
    "c": 0.16441,
    "h": 300.7
  },
  "luminance": 0.14341
}

Semantic roles & 50–950 ramp

primary
#8052BE
secondary
#B9CD9F
accent
#D5539E
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8052BE

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

Preview Lab → · Contrast checker → · Palette generator →

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