#8030AA#8030AA

#8030AA is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.2% C 0.190 H 311.3°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#8030AA
RGBrgb(128, 48, 170)
HSLhsl(279, 56%, 43%)
HSVhsv(279, 72%, 67%)
CMYKcmyk(24.7%, 71.8%, 0%, 33.3%)
CIE-LABlab(37.13, 53.90, -50.40)
CIE-LCHlch(37.13, 73.79, 316.92°)
OKLaboklab(48.18% 0.1251 -0.1425)
OKLCHoklch(48.18% 0.19 311.3)
XYZxyz(17.2134, 9.6058, 38.9697)
Luminance0.0960 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8030AA #5AAA30
analogous
#4330AA #8030AA #AA3097
triadic
#8030AA #AA8030 #30AA80
tetradic
#8030AA #AA4330 #5AAA30 #3097AA
square
#8030AA #AA4330 #5AAA30 #3097AA
split-complementary
#8030AA #97AA30 #30AA43
monochromatic
#38154B #5C237A #8030AA #A04BCC #B97BDA

Accessibility & contrast

On white

7.19
#8030AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#8030AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8030AA#FFFFFF#000000##FFFFFF
##8030AA1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#1E59A7
Tritanopia (blue-blind)
#7B4B6A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8030aa;
/* rgb */ color: rgb(128, 48, 170);
/* oklch */ color: oklch(48.2% 0.190 311.3);
Tailwind
colors: {
  custom: {
    50: '#a970c4',
    500: '#8030aa',
    950: '#000000',
  },
}
SCSS
$custom: #8030aa;
$custom-light: #a970c4;
$custom-dark: #000000;
JSON
{
  "hex": "#8030aa",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 170
  },
  "hsl": {
    "h": 279.344,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48184,
    "c": 0.18966,
    "h": 311.3
  },
  "luminance": 0.09605
}

Semantic roles & 50–950 ramp

primary
#8030AA
secondary
#8FC274
accent
#DF497C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8030AA

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

Preview Lab → · Contrast checker → · Palette generator →

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