#8052BB#8052BB

#8052BB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 53.9% C 0.161 H 301.4°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8052BB
RGBrgb(128, 82, 187)
HSLhsl(266, 44%, 53%)
HSVhsv(266, 56%, 73%)
CMYKcmyk(31.6%, 56.1%, 0%, 26.7%)
CIE-LABlab(44.53, 40.80, -48.52)
CIE-LCHlch(44.53, 63.40, 310.06°)
OKLaboklab(53.9% 0.0838 -0.1371)
OKLCHoklch(53.9% 0.161 301.4)
XYZxyz(20.8869, 14.2116, 48.6468)
Luminance0.1421 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052BB #8DBB52
analogous
#5258BB #8052BB #B452BB
triadic
#8052BB #BB8052 #52BB80
tetradic
#8052BB #BB5258 #8DBB52 #52BBB4
square
#8052BB #BB5258 #8DBB52 #52BBB4
split-complementary
#8052BB #BBB452 #58BB52
monochromatic
#452969 #623B95 #8052BB #A07ECC #C1AADE

Accessibility & contrast

On white

5.47
#8052BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8052BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052BB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052BB#FFFFFF#000000##FFFFFF
##8052BB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2769BE
Deuteranopia (green-blind)
#3769B9
Tritanopia (blue-blind)
#74677E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8052bb;
/* rgb */ color: rgb(128, 82, 187);
/* oklch */ color: oklch(53.9% 0.161 301.4);
Tailwind
colors: {
  custom: {
    50: '#a884d0',
    500: '#8052bb',
    950: '#000000',
  },
}
SCSS
$custom: #8052bb;
$custom-light: #a884d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8052bb",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 187
  },
  "hsl": {
    "h": 266.286,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53904,
    "c": 0.16073,
    "h": 301.4
  },
  "luminance": 0.14212
}

Semantic roles & 50–950 ramp

primary
#8052BB
secondary
#B7CB9E
accent
#D3549C
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8052BB

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

Preview Lab → · Contrast checker → · Palette generator →

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