#8052BF#8052BF

#8052BF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.2% C 0.166 H 300.4°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8052BF
RGBrgb(128, 82, 191)
HSLhsl(265, 46%, 54%)
HSVhsv(265, 57%, 75%)
CMYKcmyk(33%, 57.1%, 0%, 25.1%)
CIE-LABlab(44.78, 41.82, -50.46)
CIE-LCHlch(44.78, 65.54, 309.65°)
OKLaboklab(54.16% 0.0839 -0.1428)
OKLCHoklch(54.16% 0.166 300.4)
XYZxyz(21.3211, 14.3852, 50.9335)
Luminance0.1439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052BF #91BF52
analogous
#525ABF #8052BF #B652BF
triadic
#8052BF #BF8052 #52BF80
tetradic
#8052BF #BF525A #91BF52 #52BFB6
square
#8052BF #BF525A #91BF52 #52BFB6
split-complementary
#8052BF #BFB652 #5ABF52
monochromatic
#46296E #62399B #8052BF #A17FD0 #C2ABE0

Accessibility & contrast

On white

5.42
#8052BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8052BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052BF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052BF#FFFFFF#000000##FFFFFF
##8052BF1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#216AC3
Deuteranopia (green-blind)
#3369BC
Tritanopia (blue-blind)
#736880
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8052bf;
/* rgb */ color: rgb(128, 82, 191);
/* oklch */ color: oklch(54.2% 0.166 300.4);
Tailwind
colors: {
  custom: {
    50: '#a884d3',
    500: '#8052bf',
    950: '#000000',
  },
}
SCSS
$custom: #8052bf;
$custom-light: #a884d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8052bf",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 265.321,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54163,
    "c": 0.16563,
    "h": 300.4
  },
  "luminance": 0.14385
}

Semantic roles & 50–950 ramp

primary
#8052BF
secondary
#BACE9F
accent
#D6529E
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8052BF

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

Preview Lab → · Contrast checker → · Palette generator →

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