#8852DF#8852DF

#8852DF is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.205 H 297.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8852DF
RGBrgb(136, 82, 223)
HSLhsl(263, 69%, 60%)
HSVhsv(263, 63%, 87%)
CMYKcmyk(39%, 63.2%, 0%, 12.5%)
CIE-LABlab(47.75, 51.82, -64.02)
CIE-LCHlch(47.75, 82.36, 308.99°)
OKLaboklab(57.19% 0.0932 -0.1824)
OKLCHoklch(57.19% 0.205 297.1)
XYZxyz(26.4865, 16.5961, 71.6056)
Luminance0.1660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8852DF #A9DF52
analogous
#5263DF #8852DF #CF52DF
triadic
#8852DF #DF8852 #52DF88
tetradic
#8852DF #DF5263 #A9DF52 #52DFCF
square
#8852DF #DF5263 #A9DF52 #52DFCF
split-complementary
#8852DF #DFCF52 #63DF52
monochromatic
#4D1D9A #6626CE #8852DF #AC86E9 #CFB9F2

Accessibility & contrast

On white

4.86
#8852DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8852DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8852DF
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8852DF#FFFFFF#000000##FFFFFF
##8852DF1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#737291
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8852df;
/* rgb */ color: rgb(136, 82, 223);
/* oklch */ color: oklch(57.2% 0.205 297.1);
Tailwind
colors: {
  custom: {
    50: '#b085ea',
    500: '#8852df',
    950: '#000000',
  },
}
SCSS
$custom: #8852df;
$custom-light: #b085ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8852df",
  "rgb": {
    "r": 136,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 262.979,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.57192,
    "c": 0.20483,
    "h": 297.1
  },
  "luminance": 0.16597
}

Semantic roles & 50–950 ramp

primary
#8852DF
secondary
#CDE2AB
accent
#EC3CA8
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8852DF

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

Preview Lab → · Contrast checker → · Palette generator →

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