#8030AB#8030AB

#8030AB is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.3% C 0.191 H 311.0°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#8030AB
RGBrgb(128, 48, 171)
HSLhsl(279, 56%, 43%)
HSVhsv(279, 72%, 67%)
CMYKcmyk(25.1%, 71.9%, 0%, 32.9%)
CIE-LABlab(37.20, 54.12, -50.89)
CIE-LCHlch(37.20, 74.28, 316.76°)
OKLaboklab(48.26% 0.125 -0.1439)
OKLCHoklch(48.26% 0.191 311)
XYZxyz(17.3083, 9.6438, 39.4698)
Luminance0.0964 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8030AB #5BAB30
analogous
#4230AB #8030AB #AB3098
triadic
#8030AB #AB8030 #30AB80
tetradic
#8030AB #AB4230 #5BAB30 #3098AB
square
#8030AB #AB4230 #5BAB30 #3098AB
split-complementary
#8030AB #98AB30 #30AB42
monochromatic
#38154B #5C237B #8030AB #A04CCD #B97BDA

Accessibility & contrast

On white

7.17
#8030AB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8030AB on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8030AB#FFFFFF#000000##FFFFFF
##8030AB1.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AF
Deuteranopia (green-blind)
#1C59A8
Tritanopia (blue-blind)
#7A4B6A
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8030ab;
/* rgb */ color: rgb(128, 48, 171);
/* oklch */ color: oklch(48.3% 0.191 311.0);
Tailwind
colors: {
  custom: {
    50: '#a970c5',
    500: '#8030ab',
    950: '#000000',
  },
}
SCSS
$custom: #8030ab;
$custom-light: #a970c5;
$custom-dark: #000000;
JSON
{
  "hex": "#8030ab",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 171
  },
  "hsl": {
    "h": 279.024,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.19065,
    "h": 311
  },
  "luminance": 0.09643
}

Semantic roles & 50–950 ramp

primary
#8030AB
secondary
#90C374
accent
#DF487D
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8030AB

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

Preview Lab → · Contrast checker → · Palette generator →

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