#8023A4#8023A4

#8023A4 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.5% C 0.198 H 314.2°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#8023A4
RGBrgb(128, 35, 164)
HSLhsl(283, 65%, 39%)
HSVhsv(283, 79%, 64%)
CMYKcmyk(22%, 78.7%, 0%, 35.7%)
CIE-LABlab(34.95, 57.64, -50.32)
CIE-LCHlch(34.95, 76.51, 318.88°)
OKLaboklab(46.51% 0.1384 -0.1422)
OKLCHoklch(46.51% 0.198 314.2)
XYZxyz(16.2028, 8.4722, 35.8965)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8023A4 #47A423
analogous
#4023A4 #8023A4 #A42388
triadic
#8023A4 #A48023 #23A480
tetradic
#8023A4 #A44023 #47A423 #2388A4
square
#8023A4 #A44023 #47A423 #2388A4
split-complementary
#8023A4 #88A423 #23A440
monochromatic
#310D3F #591872 #8023A4 #A631D3 #BC64DE

Accessibility & contrast

On white

7.79
#8023A4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#8023A4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8023A4
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8023A4#FFFFFF#000000##FFFFFF
##8023A41.007.792.697.79
#FFFFFF7.791.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#1854A1
Tritanopia (blue-blind)
#7D4163
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8023a4;
/* rgb */ color: rgb(128, 35, 164);
/* oklch */ color: oklch(46.5% 0.198 314.2);
Tailwind
colors: {
  custom: {
    50: '#a969c0',
    500: '#8023a4',
    950: '#000000',
  },
}
SCSS
$custom: #8023a4;
$custom-light: #a969c0;
$custom-dark: #000000;
JSON
{
  "hex": "#8023a4",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 164
  },
  "hsl": {
    "h": 283.256,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.46508,
    "c": 0.1984,
    "h": 314.2
  },
  "luminance": 0.08472
}

Semantic roles & 50–950 ramp

primary
#8023A4
secondary
#7BC360
accent
#E8406F
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8023A4

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

Preview Lab → · Contrast checker → · Palette generator →

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