#8050AF#8050AF

#8050AF is a mid, vivid violet. Relative luminance 0.134; OKLCH L 52.8% C 0.149 H 305.2°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8050AF
RGBrgb(128, 80, 175)
HSLhsl(270, 37%, 50%)
HSVhsv(270, 54%, 69%)
CMYKcmyk(26.9%, 54.3%, 0%, 31.4%)
CIE-LABlab(43.39, 38.93, -43.32)
CIE-LCHlch(43.39, 58.24, 311.95°)
OKLaboklab(52.83% 0.086 -0.1219)
OKLCHoklch(52.83% 0.149 305.2)
XYZxyz(19.5070, 13.4218, 42.1121)
Luminance0.1342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8050AF #7FAF50
analogous
#5150AF #8050AF #AF50AE
triadic
#8050AF #AF8050 #50AF80
tetradic
#8050AF #AF5150 #7FAF50 #50AEAF
square
#8050AF #AF5150 #7FAF50 #50AEAF
split-complementary
#8050AF #AEAF50 #50AF51
monochromatic
#432A5B #613D85 #8050AF #9E7AC2 #BDA4D5

Accessibility & contrast

On white

5.70
#8050AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8050AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8050AF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8050AF#FFFFFF#000000##FFFFFF
##8050AF1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#4067AD
Tritanopia (blue-blind)
#786278
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8050af;
/* rgb */ color: rgb(128, 80, 175);
/* oklch */ color: oklch(52.8% 0.149 305.2);
Tailwind
colors: {
  custom: {
    50: '#a783c7',
    500: '#8050af',
    950: '#000000',
  },
}
SCSS
$custom: #8050af;
$custom-light: #a783c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8050af",
  "rgb": {
    "r": 128,
    "g": 80,
    "b": 175
  },
  "hsl": {
    "h": 270.316,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.52832,
    "c": 0.14915,
    "h": 305.2
  },
  "luminance": 0.13422
}

Semantic roles & 50–950 ramp

primary
#8050AF
secondary
#ADC398
accent
#CD5B93
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8050AF

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

Preview Lab → · Contrast checker → · Palette generator →

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