#8027AD#8027AD

#8027AD is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.5% C 0.203 H 311.1°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#8027AD
RGBrgb(128, 39, 173)
HSLhsl(280, 63%, 42%)
HSVhsv(280, 77%, 68%)
CMYKcmyk(26%, 77.5%, 0%, 32.2%)
CIE-LABlab(36.10, 58.09, -53.86)
CIE-LCHlch(36.10, 79.22, 317.17°)
OKLaboklab(47.52% 0.1332 -0.1526)
OKLCHoklch(47.52% 0.203 311.1)
XYZxyz(17.1690, 9.0578, 40.3710)
Luminance0.0906 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027AD #54AD27
analogous
#3D27AD #8027AD #AD2797
triadic
#8027AD #AD8027 #27AD80
tetradic
#8027AD #AD3D27 #54AD27 #2797AD
square
#8027AD #AD3D27 #54AD27 #2797AD
split-complementary
#8027AD #97AD27 #27AD3D
monochromatic
#361049 #5B1C7B #8027AD #A13ED3 #B970DF

Accessibility & contrast

On white

7.47
#8027AD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#8027AD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8027AD
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8027AD#FFFFFF#000000##FFFFFF
##8027AD1.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B1
Deuteranopia (green-blind)
#0556AA
Tritanopia (blue-blind)
#7A4769
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8027ad;
/* rgb */ color: rgb(128, 39, 173);
/* oklch */ color: oklch(47.5% 0.203 311.1);
Tailwind
colors: {
  custom: {
    50: '#aa6bc6',
    500: '#8027ad',
    950: '#000000',
  },
}
SCSS
$custom: #8027ad;
$custom-light: #aa6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#8027ad",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 173
  },
  "hsl": {
    "h": 279.851,
    "s": 63.208,
    "l": 41.569
  },
  "oklch": {
    "l": 0.47523,
    "c": 0.20258,
    "h": 311.1
  },
  "luminance": 0.09057
}

Semantic roles & 50–950 ramp

primary
#8027AD
secondary
#89C66A
accent
#E64279
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8027AD

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

Preview Lab → · Contrast checker → · Palette generator →

#8027AD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva