#8027B8#8027B8

#8027B8 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.213 H 307.9°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#8027B8
RGBrgb(128, 39, 184)
HSLhsl(277, 65%, 44%)
HSVhsv(277, 79%, 72%)
CMYKcmyk(30.4%, 78.8%, 0%, 27.8%)
CIE-LABlab(36.93, 60.45, -59.04)
CIE-LCHlch(36.93, 84.49, 315.68°)
OKLaboklab(48.37% 0.1308 -0.1678)
OKLCHoklch(48.37% 0.213 307.9)
XYZxyz(18.2775, 9.5012, 46.2092)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027B8 #5FB827
analogous
#3827B8 #8027B8 #B827A7
triadic
#8027B8 #B88027 #27B880
tetradic
#8027B8 #B83827 #5FB827 #27A7B8
square
#8027B8 #B83827 #5FB827 #27A7B8
split-complementary
#8027B8 #A7B827 #27B838
monochromatic
#3A1253 #5D1C86 #8027B8 #9F45D8 #B977E2

Accessibility & contrast

On white

7.24
#8027B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#8027B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8027B8
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8027B8#FFFFFF#000000##FFFFFF
##8027B81.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0058B5
Tritanopia (blue-blind)
#774C70
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #8027b8;
/* rgb */ color: rgb(128, 39, 184);
/* oklch */ color: oklch(48.4% 0.213 307.9);
Tailwind
colors: {
  custom: {
    50: '#aa6cce',
    500: '#8027b8',
    950: '#000000',
  },
}
SCSS
$custom: #8027b8;
$custom-light: #aa6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#8027b8",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 184
  },
  "hsl": {
    "h": 276.828,
    "s": 65.022,
    "l": 43.725
  },
  "oklch": {
    "l": 0.48373,
    "c": 0.21279,
    "h": 307.9
  },
  "luminance": 0.09501
}

Semantic roles & 50–950 ramp

primary
#8027B8
secondary
#93CA71
accent
#E84081
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#110714
muted
#807A82

Preview Lab

Preview with #8027B8

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

Preview Lab → · Contrast checker → · Palette generator →

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