#8030A6#8030A6

#8030A6 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 47.9% C 0.186 H 312.6°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#8030A6
RGBrgb(128, 48, 166)
HSLhsl(281, 55%, 42%)
HSVhsv(281, 71%, 65%)
CMYKcmyk(22.9%, 71.1%, 0%, 34.9%)
CIE-LABlab(36.85, 53.03, -48.45)
CIE-LCHlch(36.85, 71.83, 317.58°)
OKLaboklab(47.9% 0.1256 -0.1368)
OKLCHoklch(47.9% 0.186 312.6)
XYZxyz(16.8407, 9.4568, 37.0072)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8030A6 #56A630
analogous
#4530A6 #8030A6 #A63091
triadic
#8030A6 #A68030 #30A680
tetradic
#8030A6 #A64530 #56A630 #3091A6
square
#8030A6 #A64530 #56A630 #3091A6
split-complementary
#8030A6 #91A630 #30A645
monochromatic
#371547 #5B2277 #8030A6 #A149CA #B978D8

Accessibility & contrast

On white

7.26
#8030A6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#8030A6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8030A6
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8030A6#FFFFFF#000000##FFFFFF
##8030A61.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#2458A3
Tritanopia (blue-blind)
#7C4968
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8030a6;
/* rgb */ color: rgb(128, 48, 166);
/* oklch */ color: oklch(47.9% 0.186 312.6);
Tailwind
colors: {
  custom: {
    50: '#a96fc1',
    500: '#8030a6',
    950: '#000000',
  },
}
SCSS
$custom: #8030a6;
$custom-light: #a96fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#8030a6",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 166
  },
  "hsl": {
    "h": 280.678,
    "s": 55.14,
    "l": 41.961
  },
  "oklch": {
    "l": 0.479,
    "c": 0.18573,
    "h": 312.6
  },
  "luminance": 0.09456
}

Semantic roles & 50–950 ramp

primary
#8030A6
secondary
#8BC071
accent
#DE4979
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100812
muted
#7F7B81

Preview Lab

Preview with #8030A6

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

Preview Lab → · Contrast checker → · Palette generator →

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