#8027BE#8027BE

#8027BE is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.9% C 0.218 H 306.3°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#8027BE
RGBrgb(128, 39, 190)
HSLhsl(275, 66%, 45%)
HSVhsv(275, 79%, 75%)
CMYKcmyk(32.6%, 79.5%, 0%, 25.5%)
CIE-LABlab(37.40, 61.75, -61.80)
CIE-LCHlch(37.40, 87.36, 314.98°)
OKLaboklab(48.85% 0.1294 -0.1759)
OKLCHoklch(48.85% 0.218 306.3)
XYZxyz(18.9198, 9.7581, 49.5920)
Luminance0.0976 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8027BE #65BE27
analogous
#3427BE #8027BE #BE27B1
triadic
#8027BE #BE8027 #27BE80
tetradic
#8027BE #BE3427 #65BE27 #27B1BE
square
#8027BE #BE3427 #65BE27 #27B1BE
split-complementary
#8027BE #B1BE27 #27BE34
monochromatic
#3C1258 #5E1D8B #8027BE #9E49DA #B97BE4

Accessibility & contrast

On white

7.11
#8027BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#8027BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8027BE
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8027BE#FFFFFF#000000##FFFFFF
##8027BE1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#0058BB
Tritanopia (blue-blind)
#754F73
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8027be;
/* rgb */ color: rgb(128, 39, 190);
/* oklch */ color: oklch(48.9% 0.218 306.3);
Tailwind
colors: {
  custom: {
    50: '#ab6cd3',
    500: '#8027be',
    950: '#000000',
  },
}
SCSS
$custom: #8027be;
$custom-light: #ab6cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8027be",
  "rgb": {
    "r": 128,
    "g": 39,
    "b": 190
  },
  "hsl": {
    "h": 275.364,
    "s": 65.939,
    "l": 44.902
  },
  "oklch": {
    "l": 0.48851,
    "c": 0.21838,
    "h": 306.3
  },
  "luminance": 0.09758
}

Semantic roles & 50–950 ramp

primary
#8027BE
secondary
#99CC75
accent
#E93F85
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8027BE

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

Preview Lab → · Contrast checker → · Palette generator →

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