#8852F5#8852F5

#8852F5 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.230 H 293.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8852F5
RGBrgb(136, 82, 245)
HSLhsl(260, 89%, 64%)
HSVhsv(260, 67%, 96%)
CMYKcmyk(44.5%, 66.5%, 0%, 3.9%)
CIE-LABlab(49.33, 57.51, -73.84)
CIE-LCHlch(49.33, 93.60, 307.91°)
OKLaboklab(58.83% 0.0907 -0.2113)
OKLCHoklch(58.83% 0.23 293.2)
XYZxyz(29.6475, 17.8605, 88.2538)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8852F5 #BFF552
analogous
#526EF5 #8852F5 #D952F5
triadic
#8852F5 #F58852 #52F588
tetradic
#8852F5 #F5526E #BFF552 #52F5D9
square
#8852F5 #F5526E #BFF552 #52F5D9
split-complementary
#8852F5 #F5D952 #6EF552
monochromatic
#480BC1 #6018F2 #8852F5 #B08CF8 #D8C6FC

Accessibility & contrast

On white

4.59
#8852F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8852F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8852F5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8852F5#FFFFFF#000000##FFFFFF
##8852F51.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FA
Deuteranopia (green-blind)
#0072F2
Tritanopia (blue-blind)
#687A9D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8852f5;
/* rgb */ color: rgb(136, 82, 245);
/* oklch */ color: oklch(58.8% 0.230 293.2);
Tailwind
colors: {
  custom: {
    50: '#b386f9',
    500: '#8852f5',
    950: '#000000',
  },
}
SCSS
$custom: #8852f5;
$custom-light: #b386f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8852f5",
  "rgb": {
    "r": 136,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 259.877,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58827,
    "c": 0.22994,
    "h": 293.2
  },
  "luminance": 0.17861
}

Semantic roles & 50–950 ramp

primary
#8852F5
secondary
#DBEEB5
accent
#E60099
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #8852F5

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

Preview Lab → · Contrast checker → · Palette generator →

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