#8023A0#8023A0

#8023A0 is a mid, vivid purple. Relative luminance 0.083; OKLCH L 46.2% C 0.195 H 315.5°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#8023A0
RGBrgb(128, 35, 160)
HSLhsl(285, 64%, 38%)
HSVhsv(285, 78%, 63%)
CMYKcmyk(20%, 78.1%, 0%, 37.3%)
CIE-LABlab(34.66, 56.83, -48.37)
CIE-LCHlch(34.66, 74.63, 319.60°)
OKLaboklab(46.22% 0.1391 -0.1365)
OKLCHoklch(46.22% 0.195 315.5)
XYZxyz(15.8473, 8.3299, 34.0240)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8023A0 #43A023
analogous
#4123A0 #8023A0 #A02381
triadic
#8023A0 #A08023 #23A080
tetradic
#8023A0 #A04123 #43A023 #2381A0
square
#8023A0 #A04123 #43A023 #2381A0
split-complementary
#8023A0 #81A023 #23A041
monochromatic
#300D3C #58186E #8023A0 #A82FD1 #BD61DC

Accessibility & contrast

On white

7.88
#8023A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#8023A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8023A0
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8023A0#FFFFFF#000000##FFFFFF
##8023A01.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#1F549D
Tritanopia (blue-blind)
#7E4061
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8023a0;
/* rgb */ color: rgb(128, 35, 160);
/* oklch */ color: oklch(46.2% 0.195 315.5);
Tailwind
colors: {
  custom: {
    50: '#a969bd',
    500: '#8023a0',
    950: '#000000',
  },
}
SCSS
$custom: #8023a0;
$custom-light: #a969bd;
$custom-dark: #000000;
JSON
{
  "hex": "#8023a0",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 160
  },
  "hsl": {
    "h": 284.64,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.46215,
    "c": 0.19482,
    "h": 315.5
  },
  "luminance": 0.08329
}

Semantic roles & 50–950 ramp

primary
#8023A0
secondary
#77C15D
accent
#E7416B
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8023A0

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

Preview Lab → · Contrast checker → · Palette generator →

#8023A0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva