#8050CD#8050CD

#8050CD is a mid, vivid violet. Relative luminance 0.147; OKLCH L 54.8% C 0.185 H 297.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#8050CD
RGBrgb(128, 80, 205)
HSLhsl(263, 56%, 56%)
HSVhsv(263, 61%, 80%)
CMYKcmyk(37.6%, 61%, 0%, 19.6%)
CIE-LABlab(45.27, 46.53, -57.78)
CIE-LCHlch(45.27, 74.18, 308.85°)
OKLaboklab(54.81% 0.086 -0.1643)
OKLCHoklch(54.81% 0.185 297.6)
XYZxyz(22.7874, 14.7340, 59.3891)
Luminance0.1473 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8050CD #9DCD50
analogous
#505ECD #8050CD #BE50CD
triadic
#8050CD #CD8050 #50CD80
tetradic
#8050CD #CD505E #9DCD50 #50CDBE
square
#8050CD #CD505E #9DCD50 #50CDBE
split-complementary
#8050CD #CDBE50 #5ECD50
monochromatic
#47247E #6132AE #8050CD #A380DB #C5AFE8

Accessibility & contrast

On white

5.32
#8050CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#8050CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8050CD
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8050CD#FFFFFF#000000##FFFFFF
##8050CD1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#186ACA
Tritanopia (blue-blind)
#6E6B87
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8050cd;
/* rgb */ color: rgb(128, 80, 205);
/* oklch */ color: oklch(54.8% 0.185 297.6);
Tailwind
colors: {
  custom: {
    50: '#aa83dd',
    500: '#8050cd',
    950: '#000000',
  },
}
SCSS
$custom: #8050cd;
$custom-light: #aa83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8050cd",
  "rgb": {
    "r": 128,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 263.04,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54808,
    "c": 0.18547,
    "h": 297.6
  },
  "luminance": 0.14734
}

Semantic roles & 50–950 ramp

primary
#8050CD
secondary
#C2D6A2
accent
#DF49A5
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8050CD

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

Preview Lab → · Contrast checker → · Palette generator →

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