#8B20EF#8B20EF

#8B20EF is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 53.9% C 0.270 H 299.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8B20EF
RGBrgb(139, 32, 239)
HSLhsl(271, 87%, 53%)
HSVhsv(271, 87%, 94%)
CMYKcmyk(41.8%, 86.6%, 0%, 6.3%)
CIE-LABlab(42.39, 75.95, -81.81)
CIE-LCHlch(42.39, 111.62, 312.87°)
OKLaboklab(53.89% 0.1336 -0.2342)
OKLCHoklch(53.89% 0.27 299.7)
XYZxyz(26.7400, 12.7536, 82.6975)
Luminance0.1275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B20EF #84EF20
analogous
#2320EF #8B20EF #EF20EC
triadic
#8B20EF #EF8B20 #20EF8B
tetradic
#8B20EF #EF2320 #84EF20 #20ECEF
square
#8B20EF #EF2320 #84EF20 #20ECEF
split-complementary
#8B20EF #ECEF20 #20EF23
monochromatic
#4C0A8B #6C0EC4 #8B20EF #A959F3 #C692F7

Accessibility & contrast

On white

5.91
#8B20EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#8B20EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B20EF
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B20EF#FFFFFF#000000##FFFFFF
##8B20EF1.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064F4
Deuteranopia (green-blind)
#0062EB
Tritanopia (blue-blind)
#72618F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8b20ef;
/* rgb */ color: rgb(139, 32, 239);
/* oklch */ color: oklch(53.9% 0.270 299.7);
Tailwind
colors: {
  custom: {
    50: '#b66ef6',
    500: '#8b20ef',
    950: '#000000',
  },
}
SCSS
$custom: #8b20ef;
$custom-light: #b66ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#8b20ef",
  "rgb": {
    "r": 139,
    "g": 32,
    "b": 239
  },
  "hsl": {
    "h": 271.014,
    "s": 86.611,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53889,
    "c": 0.26963,
    "h": 299.7
  },
  "luminance": 0.12754
}

Semantic roles & 50–950 ramp

primary
#8B20EF
secondary
#B4E289
accent
#FD2B90
background
#FCF7FF
surface
#F8EDFF
border
#D1C8D7
text
#130817
muted
#827B85

Preview Lab

Preview with #8B20EF

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

Preview Lab → · Contrast checker → · Palette generator →

#8B20EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva