#8030AF#8030AF

#8030AF is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.5% C 0.195 H 309.8°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#8030AF
RGBrgb(128, 48, 175)
HSLhsl(278, 57%, 44%)
HSVhsv(278, 73%, 69%)
CMYKcmyk(26.9%, 72.6%, 0%, 31.4%)
CIE-LABlab(37.48, 54.99, -52.81)
CIE-LCHlch(37.48, 76.25, 316.16°)
OKLaboklab(48.55% 0.1244 -0.1496)
OKLCHoklch(48.55% 0.195 309.8)
XYZxyz(17.6954, 9.7986, 41.5083)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8030AF #5FAF30
analogous
#4030AF #8030AF #AF309E
triadic
#8030AF #AF8030 #30AF80
tetradic
#8030AF #AF4030 #5FAF30 #309EAF
square
#8030AF #AF4030 #5FAF30 #309EAF
split-complementary
#8030AF #9EAF30 #30AF40
monochromatic
#3A164F #5D237F #8030AF #9F4ECE #B97EDC

Accessibility & contrast

On white

7.10
#8030AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8030AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8030AF#FFFFFF#000000##FFFFFF
##8030AF1.007.102.967.10
#FFFFFF7.101.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#1459AC
Tritanopia (blue-blind)
#794D6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8030af;
/* rgb */ color: rgb(128, 48, 175);
/* oklch */ color: oklch(48.5% 0.195 309.8);
Tailwind
colors: {
  custom: {
    50: '#a970c8',
    500: '#8030af',
    950: '#000000',
  },
}
SCSS
$custom: #8030af;
$custom-light: #a970c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8030af",
  "rgb": {
    "r": 128,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 277.795,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48547,
    "c": 0.19458,
    "h": 309.8
  },
  "luminance": 0.09798
}

Semantic roles & 50–950 ramp

primary
#8030AF
secondary
#93C476
accent
#E04880
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #8030AF

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

Preview Lab → · Contrast checker → · Palette generator →

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