#8852D2#8852D2

#8852D2 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.3% C 0.190 H 299.7°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8852D2
RGBrgb(136, 82, 210)
HSLhsl(265, 59%, 57%)
HSVhsv(265, 61%, 82%)
CMYKcmyk(35.2%, 61%, 0%, 17.6%)
CIE-LABlab(46.87, 48.51, -58.02)
CIE-LCHlch(46.87, 75.62, 309.90°)
OKLaboklab(56.28% 0.0941 -0.1648)
OKLCHoklch(56.28% 0.19 299.7)
XYZxyz(24.8007, 15.9218, 62.7269)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8852D2 #9CD252
analogous
#525CD2 #8852D2 #C852D2
triadic
#8852D2 #D28852 #52D288
tetradic
#8852D2 #D2525C #9CD252 #52D2C8
square
#8852D2 #D2525C #9CD252 #52D2C8
split-complementary
#8852D2 #D2C852 #5CD252
monochromatic
#4D2387 #6930B7 #8852D2 #A983DF #CBB3EB

Accessibility & contrast

On white

5.02
#8852D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8852D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8852D2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8852D2#FFFFFF#000000##FFFFFF
##8852D21.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD6
Deuteranopia (green-blind)
#226ECF
Tritanopia (blue-blind)
#786D8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8852d2;
/* rgb */ color: rgb(136, 82, 210);
/* oklch */ color: oklch(56.3% 0.190 299.7);
Tailwind
colors: {
  custom: {
    50: '#af85e0',
    500: '#8852d2',
    950: '#000000',
  },
}
SCSS
$custom: #8852d2;
$custom-light: #af85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8852d2",
  "rgb": {
    "r": 136,
    "g": 82,
    "b": 210
  },
  "hsl": {
    "h": 265.313,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56279,
    "c": 0.18973,
    "h": 299.7
  },
  "luminance": 0.15922
}

Semantic roles & 50–950 ramp

primary
#8852D2
secondary
#C4DAA6
accent
#E246A0
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8852D2

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

Preview Lab → · Contrast checker → · Palette generator →

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