#852EC8#852EC8

#852EC8 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.222 H 305.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#852EC8
RGBrgb(133, 46, 200)
HSLhsl(274, 63%, 48%)
HSVhsv(274, 77%, 78%)
CMYKcmyk(33.5%, 77%, 0%, 21.6%)
CIE-LABlab(39.77, 62.25, -63.77)
CIE-LCHlch(39.77, 89.12, 314.31°)
OKLaboklab(50.89% 0.1282 -0.1816)
OKLCHoklch(50.89% 0.222 305.2)
XYZxyz(21.0728, 11.1108, 55.6668)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EC8 #71C82E
analogous
#382EC8 #852EC8 #C82EBE
triadic
#852EC8 #C8852E #2EC885
tetradic
#852EC8 #C8382E #71C82E #2EBEC8
square
#852EC8 #C8382E #71C82E #2EBEC8
split-complementary
#852EC8 #BEC82E #2EC838
monochromatic
#431764 #642396 #852EC8 #A25AD9 #BE8CE5

Accessibility & contrast

On white

6.52
#852EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#852EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EC8
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EC8#FFFFFF#000000##FFFFFF
##852EC81.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCC
Deuteranopia (green-blind)
#005EC5
Tritanopia (blue-blind)
#78567A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #852ec8;
/* rgb */ color: rgb(133, 46, 200);
/* oklch */ color: oklch(50.9% 0.222 305.2);
Tailwind
colors: {
  custom: {
    50: '#ae70da',
    500: '#852ec8',
    950: '#000000',
  },
}
SCSS
$custom: #852ec8;
$custom-light: #ae70da;
$custom-dark: #000000;
JSON
{
  "hex": "#852ec8",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 200
  },
  "hsl": {
    "h": 273.896,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50894,
    "c": 0.2223,
    "h": 305.2
  },
  "luminance": 0.11111
}

Semantic roles & 50–950 ramp

primary
#852EC8
secondary
#A4CF83
accent
#E64289
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852EC8

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

Preview Lab → · Contrast checker → · Palette generator →

#852EC8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva