#8029A2#8029A2

#8029A2 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.9% C 0.190 H 314.5°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#8029A2
RGBrgb(128, 41, 162)
HSLhsl(283, 60%, 40%)
HSVhsv(283, 75%, 64%)
CMYKcmyk(21%, 74.7%, 0%, 36.5%)
CIE-LABlab(35.57, 55.05, -48.12)
CIE-LCHlch(35.57, 73.11, 318.84°)
OKLaboklab(46.9% 0.1332 -0.1358)
OKLCHoklch(46.9% 0.19 314.5)
XYZxyz(16.2155, 8.7843, 35.0168)
Luminance0.0878 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8029A2 #4BA229
analogous
#4329A2 #8029A2 #A22988
triadic
#8029A2 #A28029 #29A280
tetradic
#8029A2 #A24329 #4BA229 #2988A2
square
#8029A2 #A24329 #4BA229 #2988A2
split-complementary
#8029A2 #88A229 #29A243
monochromatic
#331040 #591D71 #8029A2 #A43BCD #BB6CDA

Accessibility & contrast

On white

7.62
#8029A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#8029A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8029A2
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8029A2#FFFFFF#000000##FFFFFF
##8029A21.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#22569F
Tritanopia (blue-blind)
#7D4464
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #8029a2;
/* rgb */ color: rgb(128, 41, 162);
/* oklch */ color: oklch(46.9% 0.190 314.5);
Tailwind
colors: {
  custom: {
    50: '#a96cbe',
    500: '#8029a2',
    950: '#000000',
  },
}
SCSS
$custom: #8029a2;
$custom-light: #a96cbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8029a2",
  "rgb": {
    "r": 128,
    "g": 41,
    "b": 162
  },
  "hsl": {
    "h": 283.14,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.469,
    "c": 0.19022,
    "h": 314.5
  },
  "luminance": 0.08784
}

Semantic roles & 50–950 ramp

primary
#8029A2
secondary
#80C067
accent
#E34571
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #8029A2

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

Preview Lab → · Contrast checker → · Palette generator →

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