#8820EF#8820EF

#8820EF is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 53.5% C 0.269 H 298.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8820EF
RGBrgb(136, 32, 239)
HSLhsl(270, 87%, 53%)
HSVhsv(270, 87%, 94%)
CMYKcmyk(43.1%, 86.6%, 0%, 6.3%)
CIE-LABlab(42.00, 75.60, -82.46)
CIE-LCHlch(42.00, 111.87, 312.51°)
OKLaboklab(53.54% 0.1292 -0.2362)
OKLCHoklch(53.54% 0.269 298.7)
XYZxyz(26.2458, 12.4988, 82.6743)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8820EF #87EF20
analogous
#2020EF #8820EF #EF20EE
triadic
#8820EF #EF8820 #20EF88
tetradic
#8820EF #EF2020 #87EF20 #20EEEF
square
#8820EF #EF2020 #87EF20 #20EEEF
split-complementary
#8820EF #EEEF20 #20EF20
monochromatic
#4B0A8B #690EC4 #8820EF #A659F3 #C592F7

Accessibility & contrast

On white

6.00
#8820EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8820EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8820EF
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8820EF#FFFFFF#000000##FFFFFF
##8820EF1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063F4
Deuteranopia (green-blind)
#0061EB
Tritanopia (blue-blind)
#6D628F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8820ef;
/* rgb */ color: rgb(136, 32, 239);
/* oklch */ color: oklch(53.5% 0.269 298.7);
Tailwind
colors: {
  custom: {
    50: '#b46ef6',
    500: '#8820ef',
    950: '#000000',
  },
}
SCSS
$custom: #8820ef;
$custom-light: #b46ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#8820ef",
  "rgb": {
    "r": 136,
    "g": 32,
    "b": 239
  },
  "hsl": {
    "h": 270.145,
    "s": 86.611,
    "l": 53.137
  },
  "oklch": {
    "l": 0.53538,
    "c": 0.26927,
    "h": 298.7
  },
  "luminance": 0.12499
}

Semantic roles & 50–950 ramp

primary
#8820EF
secondary
#B5E289
accent
#FD2B93
background
#FBF7FF
surface
#F7EDFF
border
#D0C8D7
text
#120817
muted
#817B85

Preview Lab

Preview with #8820EF

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

Preview Lab → · Contrast checker → · Palette generator →

#8820EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva