#8027AF#8027AF

#8027AF is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.7% C 0.204 H 310.5°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#8027AF
RGBrgb(128, 39, 175)
HSLhsl(279, 64%, 42%)
HSVhsv(279, 78%, 69%)
CMYKcmyk(26.9%, 77.7%, 0%, 31.4%)
CIE-LABlab(36.24, 58.52, -54.81)
CIE-LCHlch(36.24, 80.18, 316.87°)
OKLaboklab(47.68% 0.1328 -0.1554)
OKLCHoklch(47.68% 0.204 310.5)
XYZxyz(17.3640, 9.1358, 41.3978)
Luminance0.0914 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027AF #56AF27
analogous
#3C27AF #8027AF #AF279A
triadic
#8027AF #AF8027 #27AF80
tetradic
#8027AF #AF3C27 #56AF27 #279AAF
square
#8027AF #AF3C27 #56AF27 #279AAF
split-complementary
#8027AF #9AAF27 #27AF3C
monochromatic
#37114B #5B1C7D #8027AF #A13FD4 #B971DF

Accessibility & contrast

On white

7.43
#8027AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8027AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8027AF
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8027AF#FFFFFF#000000##FFFFFF
##8027AF1.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0057AC
Tritanopia (blue-blind)
#79486A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8027af;
/* rgb */ color: rgb(128, 39, 175);
/* oklch */ color: oklch(47.7% 0.204 310.5);
Tailwind
colors: {
  custom: {
    50: '#aa6cc8',
    500: '#8027af',
    950: '#000000',
  },
}
SCSS
$custom: #8027af;
$custom-light: #aa6cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8027af",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 175
  },
  "hsl": {
    "h": 279.265,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.47675,
    "c": 0.20443,
    "h": 310.5
  },
  "luminance": 0.09135
}

Semantic roles & 50–950 ramp

primary
#8027AF
secondary
#8BC66B
accent
#E7417A
background
#FAF6FC
surface
#F5ECF8
border
#CFC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #8027AF

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

Preview Lab → · Contrast checker → · Palette generator →

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