#8027B6#8027B6

#8027B6 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.2% C 0.211 H 308.5°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#8027B6
RGBrgb(128, 39, 182)
HSLhsl(277, 65%, 43%)
HSVhsv(277, 79%, 71%)
CMYKcmyk(29.7%, 78.6%, 0%, 28.6%)
CIE-LABlab(36.78, 60.01, -58.11)
CIE-LCHlch(36.78, 83.53, 315.93°)
OKLaboklab(48.22% 0.1313 -0.1651)
OKLCHoklch(48.22% 0.211 308.5)
XYZxyz(18.0693, 9.4179, 45.1129)
Luminance0.0942 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027B6 #5DB627
analogous
#3927B6 #8027B6 #B627A4
triadic
#8027B6 #B68027 #27B680
tetradic
#8027B6 #B63927 #5DB627 #27A4B6
square
#8027B6 #B63927 #5DB627 #27A4B6
split-complementary
#8027B6 #A4B627 #27B639
monochromatic
#391151 #5D1C84 #8027B6 #9F43D7 #B976E2

Accessibility & contrast

On white

7.28
#8027B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8027B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8027B6
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8027B6#FFFFFF#000000##FFFFFF
##8027B61.007.282.887.28
#FFFFFF7.281.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0057B3
Tritanopia (blue-blind)
#774B6E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8027b6;
/* rgb */ color: rgb(128, 39, 182);
/* oklch */ color: oklch(48.2% 0.211 308.5);
Tailwind
colors: {
  custom: {
    50: '#aa6ccd',
    500: '#8027b6',
    950: '#000000',
  },
}
SCSS
$custom: #8027b6;
$custom-light: #aa6ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#8027b6",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 182
  },
  "hsl": {
    "h": 277.343,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.48216,
    "c": 0.21094,
    "h": 308.5
  },
  "luminance": 0.09418
}

Semantic roles & 50–950 ramp

primary
#8027B6
secondary
#91C970
accent
#E8407F
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8027B6

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

Preview Lab → · Contrast checker → · Palette generator →

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