#8050CF#8050CF

#8050CF is a mid, vivid violet. Relative luminance 0.148; OKLCH L 54.9% C 0.188 H 297.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8050CF
RGBrgb(128, 80, 207)
HSLhsl(263, 57%, 56%)
HSVhsv(263, 61%, 81%)
CMYKcmyk(38.2%, 61.4%, 0%, 18.8%)
CIE-LABlab(45.40, 47.05, -58.71)
CIE-LCHlch(45.40, 75.24, 308.71°)
OKLaboklab(54.95% 0.0859 -0.1671)
OKLCHoklch(54.95% 0.188 297.2)
XYZxyz(23.0304, 14.8311, 60.6687)
Luminance0.1483 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8050CF #9FCF50
analogous
#5060CF #8050CF #C050CF
triadic
#8050CF #CF8050 #50CF80
tetradic
#8050CF #CF5060 #9FCF50 #50CFC0
square
#8050CF #CF5060 #9FCF50 #50CFC0
split-complementary
#8050CF #CFC050 #60CF50
monochromatic
#472381 #6131B1 #8050CF #A380DC #C6B0E9

Accessibility & contrast

On white

5.29
#8050CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8050CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8050CF
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8050CF#FFFFFF#000000##FFFFFF
##8050CF1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#126ACC
Tritanopia (blue-blind)
#6D6C88
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8050cf;
/* rgb */ color: rgb(128, 80, 207);
/* oklch */ color: oklch(54.9% 0.188 297.2);
Tailwind
colors: {
  custom: {
    50: '#aa83de',
    500: '#8050cf',
    950: '#000000',
  },
}
SCSS
$custom: #8050cf;
$custom-light: #aa83de;
$custom-dark: #000000;
JSON
{
  "hex": "#8050cf",
  "rgb": {
    "r": 128,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 262.677,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54949,
    "c": 0.18786,
    "h": 297.2
  },
  "luminance": 0.14832
}

Semantic roles & 50–950 ramp

primary
#8050CF
secondary
#C4D8A3
accent
#E048A7
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8050CF

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

Preview Lab → · Contrast checker → · Palette generator →

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