#8030A2#8030A2

#8030A2 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.182 H 313.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#8030A2
RGBrgb(128, 48, 162)
HSLhsl(282, 54%, 41%)
HSVhsv(282, 70%, 64%)
CMYKcmyk(21%, 70.4%, 0%, 36.5%)
CIE-LABlab(36.58, 52.18, -46.49)
CIE-LCHlch(36.58, 69.88, 318.30°)
OKLaboklab(47.62% 0.1261 -0.131)
OKLCHoklch(47.62% 0.182 313.9)
XYZxyz(16.4795, 9.3123, 35.1048)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8030A2 #52A230
analogous
#4730A2 #8030A2 #A2308B
triadic
#8030A2 #A28030 #30A280
tetradic
#8030A2 #A24730 #52A230 #308BA2
square
#8030A2 #A24730 #52A230 #308BA2
split-complementary
#8030A2 #8BA230 #30A247
monochromatic
#351444 #5B2273 #8030A2 #A247C8 #BA76D6

Accessibility & contrast

On white

7.34
#8030A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#8030A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8030A2
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8030A2#FFFFFF#000000##FFFFFF
##8030A21.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#29589F
Tritanopia (blue-blind)
#7D4865
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8030a2;
/* rgb */ color: rgb(128, 48, 162);
/* oklch */ color: oklch(47.6% 0.182 313.9);
Tailwind
colors: {
  custom: {
    50: '#a86fbe',
    500: '#8030a2',
    950: '#000000',
  },
}
SCSS
$custom: #8030a2;
$custom-light: #a86fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#8030a2",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 282.105,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.47621,
    "c": 0.18181,
    "h": 313.9
  },
  "luminance": 0.09312
}

Semantic roles & 50–950 ramp

primary
#8030A2
secondary
#87BE6F
accent
#DE4A76
background
#FAF7FB
surface
#F4EDF7
border
#CEC8D0
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8030A2

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

Preview Lab → · Contrast checker → · Palette generator →

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