#8027BC#8027BC

#8027BC is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.217 H 306.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8027BC
RGBrgb(128, 39, 188)
HSLhsl(276, 66%, 45%)
HSVhsv(276, 79%, 74%)
CMYKcmyk(31.9%, 79.3%, 0%, 26.3%)
CIE-LABlab(37.25, 61.31, -60.88)
CIE-LCHlch(37.25, 86.41, 315.20°)
OKLaboklab(48.69% 0.1299 -0.1732)
OKLCHoklch(48.69% 0.217 306.9)
XYZxyz(18.7027, 9.6713, 48.4487)
Luminance0.0967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027BC #63BC27
analogous
#3627BC #8027BC #BC27AE
triadic
#8027BC #BC8027 #27BC80
tetradic
#8027BC #BC3627 #63BC27 #27AEBC
square
#8027BC #BC3627 #63BC27 #27AEBC
split-complementary
#8027BC #AEBC27 #27BC36
monochromatic
#3B1257 #5D1C89 #8027BC #9E47D9 #B97AE3

Accessibility & contrast

On white

7.16
#8027BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#8027BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8027BC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8027BC#FFFFFF#000000##FFFFFF
##8027BC1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C0
Deuteranopia (green-blind)
#0058B9
Tritanopia (blue-blind)
#764E72
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8027bc;
/* rgb */ color: rgb(128, 39, 188);
/* oklch */ color: oklch(48.7% 0.217 306.9);
Tailwind
colors: {
  custom: {
    50: '#ab6cd1',
    500: '#8027bc',
    950: '#000000',
  },
}
SCSS
$custom: #8027bc;
$custom-light: #ab6cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8027bc",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 188
  },
  "hsl": {
    "h": 275.839,
    "s": 65.639,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4869,
    "c": 0.21651,
    "h": 306.9
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

primary
#8027BC
secondary
#97CB73
accent
#E93F83
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8027BC

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

Preview Lab → · Contrast checker → · Palette generator →

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