#8852BE#8852BE

#8852BE is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.0% C 0.166 H 304.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8852BE
RGBrgb(136, 82, 190)
HSLhsl(270, 45%, 53%)
HSVhsv(270, 57%, 75%)
CMYKcmyk(28.4%, 56.8%, 0%, 25.5%)
CIE-LABlab(45.62, 43.55, -48.49)
CIE-LCHlch(45.62, 65.18, 311.93°)
OKLaboklab(54.96% 0.0943 -0.1368)
OKLCHoklch(54.96% 0.166 304.6)
XYZxyz(22.4629, 14.9866, 50.4145)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8852BE #88BE52
analogous
#5252BE #8852BE #BE52BE
triadic
#8852BE #BE8852 #52BE88
tetradic
#8852BE #BE5252 #88BE52 #52BEBE
square
#8852BE #BE5252 #88BE52 #52BEBE
split-complementary
#8852BE #BEBE52 #52BE52
monochromatic
#4B296D #693A99 #8852BE #A77ECF #C5ABDF

Accessibility & contrast

On white

5.25
#8852BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8852BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8852BE
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8852BE#FFFFFF#000000##FFFFFF
##8852BE1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#286BC2
Deuteranopia (green-blind)
#3C6CBB
Tritanopia (blue-blind)
#7F6780
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8852be;
/* rgb */ color: rgb(136, 82, 190);
/* oklch */ color: oklch(55.0% 0.166 304.6);
Tailwind
colors: {
  custom: {
    50: '#ae85d2',
    500: '#8852be',
    950: '#000000',
  },
}
SCSS
$custom: #8852be;
$custom-light: #ae85d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8852be",
  "rgb": {
    "r": 136,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 270,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5496,
    "c": 0.16616,
    "h": 304.6
  },
  "luminance": 0.14987
}

Semantic roles & 50–950 ramp

primary
#8852BE
secondary
#B6CD9F
accent
#D55394
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8852BE

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

Preview Lab → · Contrast checker → · Palette generator →

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