#8050CB#8050CB

#8050CB is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.183 H 298.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#8050CB
RGBrgb(128, 80, 203)
HSLhsl(263, 54%, 55%)
HSVhsv(263, 61%, 80%)
CMYKcmyk(36.9%, 60.6%, 0%, 20.4%)
CIE-LABlab(45.13, 46.01, -56.84)
CIE-LCHlch(45.13, 73.13, 308.99°)
OKLaboklab(54.67% 0.0861 -0.1616)
OKLCHoklch(54.67% 0.183 298.1)
XYZxyz(22.5475, 14.6380, 58.1258)
Luminance0.1464 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8050CB #9BCB50
analogous
#505DCB #8050CB #BE50CB
triadic
#8050CB #CB8050 #50CB80
tetradic
#8050CB #CB505D #9BCB50 #50CBBE
square
#8050CB #CB505D #9BCB50 #50CBBE
split-complementary
#8050CB #CBBE50 #5DCB50
monochromatic
#47257C #6233AB #8050CB #A27FD9 #C4AEE7

Accessibility & contrast

On white

5.35
#8050CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8050CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8050CB
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8050CB#FFFFFF#000000##FFFFFF
##8050CB1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#1D6AC8
Tritanopia (blue-blind)
#6F6B86
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8050cb;
/* rgb */ color: rgb(128, 80, 203);
/* oklch */ color: oklch(54.7% 0.183 298.1);
Tailwind
colors: {
  custom: {
    50: '#aa83dc',
    500: '#8050cb',
    950: '#000000',
  },
}
SCSS
$custom: #8050cb;
$custom-light: #aa83dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8050cb",
  "rgb": {
    "r": 128,
    "g": 80,
    "b": 203
  },
  "hsl": {
    "h": 263.415,
    "s": 54.185,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54668,
    "c": 0.18308,
    "h": 298.1
  },
  "luminance": 0.14638
}

Semantic roles & 50–950 ramp

primary
#8050CB
secondary
#C1D5A2
accent
#DE4AA4
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8050CB

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

Preview Lab → · Contrast checker → · Palette generator →

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