#8852EF#8852EF

#8852EF is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.4% C 0.223 H 294.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8852EF
RGBrgb(136, 82, 239)
HSLhsl(261, 83%, 63%)
HSVhsv(261, 66%, 94%)
CMYKcmyk(43.1%, 65.7%, 0%, 6.3%)
CIE-LABlab(48.88, 55.95, -71.20)
CIE-LCHlch(48.88, 90.55, 308.16°)
OKLaboklab(58.37% 0.0915 -0.2035)
OKLCHoklch(58.37% 0.223 294.2)
XYZxyz(28.7464, 17.5001, 83.5079)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8852EF #B9EF52
analogous
#526AEF #8852EF #D752EF
triadic
#8852EF #EF8852 #52EF88
tetradic
#8852EF #EF526A #B9EF52 #52EFD7
square
#8852EF #EF526A #B9EF52 #52EFD7
split-complementary
#8852EF #EFD752 #6AEF52
monochromatic
#4A11B6 #611AEA #8852EF #AF8AF4 #D5C2F9

Accessibility & contrast

On white

4.67
#8852EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8852EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8852EF
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8852EF#FFFFFF#000000##FFFFFF
##8852EF1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#6B789A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8852ef;
/* rgb */ color: rgb(136, 82, 239);
/* oklch */ color: oklch(58.4% 0.223 294.2);
Tailwind
colors: {
  custom: {
    50: '#b286f5',
    500: '#8852ef',
    950: '#000000',
  },
}
SCSS
$custom: #8852ef;
$custom-light: #b286f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8852ef",
  "rgb": {
    "r": 136,
    "g": 82,
    "b": 239
  },
  "hsl": {
    "h": 260.637,
    "s": 83.069,
    "l": 62.941
  },
  "oklch": {
    "l": 0.58371,
    "c": 0.22316,
    "h": 294.2
  },
  "luminance": 0.17501
}

Semantic roles & 50–950 ramp

primary
#8852EF
secondary
#D7EBB2
accent
#DF0695
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #8852EF

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

Preview Lab → · Contrast checker → · Palette generator →

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