#8052CB#8052CB

#8052CB is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.180 H 297.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8052CB
RGBrgb(128, 82, 203)
HSLhsl(263, 54%, 56%)
HSVhsv(263, 60%, 80%)
CMYKcmyk(36.9%, 59.6%, 0%, 20.4%)
CIE-LABlab(45.55, 44.92, -56.18)
CIE-LCHlch(45.55, 71.93, 308.65°)
OKLaboklab(54.97% 0.0838 -0.1596)
OKLCHoklch(54.97% 0.18 297.7)
XYZxyz(22.6962, 14.9353, 58.1754)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8052CB #9DCB52
analogous
#5260CB #8052CB #BC52CB
triadic
#8052CB #CB8052 #52CB80
tetradic
#8052CB #CB5260 #9DCB52 #52CBBC
square
#8052CB #CB5260 #9DCB52 #52CBBC
split-complementary
#8052CB #CBBC52 #60CB52
monochromatic
#47267D #6134AC #8052CB #A381D9 #C5B0E7

Accessibility & contrast

On white

5.27
#8052CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#8052CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8052CB
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8052CB#FFFFFF#000000##FFFFFF
##8052CB1.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CCF
Deuteranopia (green-blind)
#226AC8
Tritanopia (blue-blind)
#6F6C87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8052cb;
/* rgb */ color: rgb(128, 82, 203);
/* oklch */ color: oklch(55.0% 0.180 297.7);
Tailwind
colors: {
  custom: {
    50: '#a984dc',
    500: '#8052cb',
    950: '#000000',
  },
}
SCSS
$custom: #8052cb;
$custom-light: #a984dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8052cb",
  "rgb": {
    "r": 128,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 262.81,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54968,
    "c": 0.18025,
    "h": 297.7
  },
  "luminance": 0.14936
}

Semantic roles & 50–950 ramp

primary
#8052CB
secondary
#C2D5A3
accent
#DD4BA5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8052CB

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

Preview Lab → · Contrast checker → · Palette generator →

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