#8023A2#8023A2

#8023A2 is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.4% C 0.197 H 314.9°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#8023A2
RGBrgb(128, 35, 162)
HSLhsl(284, 64%, 39%)
HSVhsv(284, 78%, 64%)
CMYKcmyk(21%, 78.4%, 0%, 36.5%)
CIE-LABlab(34.80, 57.23, -49.35)
CIE-LCHlch(34.80, 75.57, 319.23°)
OKLaboklab(46.36% 0.1387 -0.1393)
OKLCHoklch(46.36% 0.197 314.9)
XYZxyz(16.0236, 8.4005, 34.9528)
Luminance0.0840 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8023A2 #45A223
analogous
#4023A2 #8023A2 #A22384
triadic
#8023A2 #A28023 #23A280
tetradic
#8023A2 #A24023 #45A223 #2384A2
square
#8023A2 #A24023 #45A223 #2384A2
split-complementary
#8023A2 #84A223 #23A240
monochromatic
#300D3D #581870 #8023A2 #A730D2 #BC62DD

Accessibility & contrast

On white

7.84
#8023A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#8023A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8023A2
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8023A2#FFFFFF#000000##FFFFFF
##8023A21.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#1C549F
Tritanopia (blue-blind)
#7D4062
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #8023a2;
/* rgb */ color: rgb(128, 35, 162);
/* oklch */ color: oklch(46.4% 0.197 314.9);
Tailwind
colors: {
  custom: {
    50: '#a969be',
    500: '#8023a2',
    950: '#000000',
  },
}
SCSS
$custom: #8023a2;
$custom-light: #a969be;
$custom-dark: #000000;
JSON
{
  "hex": "#8023a2",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 162
  },
  "hsl": {
    "h": 283.937,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46361,
    "c": 0.1966,
    "h": 314.9
  },
  "luminance": 0.084
}

Semantic roles & 50–950 ramp

primary
#8023A2
secondary
#79C25E
accent
#E7406D
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8023A2

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

Preview Lab → · Contrast checker → · Palette generator →

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