#8852E8#8852E8

#8852E8 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.215 H 295.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8852E8
RGBrgb(136, 82, 232)
HSLhsl(262, 77%, 62%)
HSVhsv(262, 65%, 91%)
CMYKcmyk(41.4%, 64.7%, 0%, 9%)
CIE-LABlab(48.38, 54.13, -68.08)
CIE-LCHlch(48.38, 86.98, 308.49°)
OKLaboklab(57.85% 0.0923 -0.1944)
OKLCHoklch(57.85% 0.215 295.4)
XYZxyz(27.7323, 17.0944, 78.1667)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8852E8 #B2E852
analogous
#5267E8 #8852E8 #D352E8
triadic
#8852E8 #E88852 #52E888
tetradic
#8852E8 #E85267 #B2E852 #52E8D3
square
#8852E8 #E85267 #B2E852 #52E8D3
split-complementary
#8852E8 #E8D352 #67E852
monochromatic
#4B16A9 #631EDF #8852E8 #AD88EF #D2BEF6

Accessibility & contrast

On white

4.75
#8852E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8852E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8852E8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8852E8#FFFFFF#000000##FFFFFF
##8852E81.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074ED
Deuteranopia (green-blind)
#0071E5
Tritanopia (blue-blind)
#6F7596
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8852e8;
/* rgb */ color: rgb(136, 82, 232);
/* oklch */ color: oklch(57.8% 0.215 295.4);
Tailwind
colors: {
  custom: {
    50: '#b186f0',
    500: '#8852e8',
    950: '#000000',
  },
}
SCSS
$custom: #8852e8;
$custom-light: #b186f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8852e8",
  "rgb": {
    "r": 136,
    "g": 82,
    "b": 232
  },
  "hsl": {
    "h": 261.6,
    "s": 76.531,
    "l": 61.569
  },
  "oklch": {
    "l": 0.57848,
    "c": 0.21518,
    "h": 295.4
  },
  "luminance": 0.17095
}

Semantic roles & 50–950 ramp

primary
#8852E8
secondary
#D3E7AF
accent
#D90D8F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B17
muted
#807C85

Preview Lab

Preview with #8852E8

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

Preview Lab → · Contrast checker → · Palette generator →

#8852E8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva