#852EC6#852EC6

#852EC6 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.7% C 0.220 H 305.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#852EC6
RGBrgb(133, 46, 198)
HSLhsl(274, 62%, 48%)
HSVhsv(274, 77%, 78%)
CMYKcmyk(32.8%, 76.8%, 0%, 22.4%)
CIE-LABlab(39.61, 61.80, -62.86)
CIE-LCHlch(39.61, 88.16, 314.51°)
OKLaboklab(50.74% 0.1286 -0.1789)
OKLCHoklch(50.74% 0.22 305.7)
XYZxyz(20.8406, 11.0179, 54.4439)
Luminance0.1102 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EC6 #6FC62E
analogous
#392EC6 #852EC6 #C62EBB
triadic
#852EC6 #C6852E #2EC685
tetradic
#852EC6 #C6392E #6FC62E #2EBBC6
square
#852EC6 #C6392E #6FC62E #2EBBC6
split-complementary
#852EC6 #BBC62E #2EC639
monochromatic
#421763 #642294 #852EC6 #A259D8 #BE8AE4

Accessibility & contrast

On white

6.56
#852EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#852EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EC6
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EC6#FFFFFF#000000##FFFFFF
##852EC61.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCA
Deuteranopia (green-blind)
#005EC3
Tritanopia (blue-blind)
#795579
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #852ec6;
/* rgb */ color: rgb(133, 46, 198);
/* oklch */ color: oklch(50.7% 0.220 305.7);
Tailwind
colors: {
  custom: {
    50: '#ae70d8',
    500: '#852ec6',
    950: '#000000',
  },
}
SCSS
$custom: #852ec6;
$custom-light: #ae70d8;
$custom-dark: #000000;
JSON
{
  "hex": "#852ec6",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 198
  },
  "hsl": {
    "h": 274.342,
    "s": 62.295,
    "l": 47.843
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.22039,
    "h": 305.7
  },
  "luminance": 0.11018
}

Semantic roles & 50–950 ramp

primary
#852EC6
secondary
#A2CE82
accent
#E54288
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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