#852EC3#852EC3

#852EC3 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.5% C 0.218 H 306.5°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#852EC3
RGBrgb(133, 46, 195)
HSLhsl(275, 62%, 47%)
HSVhsv(275, 76%, 76%)
CMYKcmyk(31.8%, 76.4%, 0%, 23.5%)
CIE-LABlab(39.38, 61.14, -61.49)
CIE-LCHlch(39.38, 86.71, 314.84°)
OKLaboklab(50.5% 0.1293 -0.1749)
OKLCHoklch(50.5% 0.218 306.5)
XYZxyz(20.4980, 10.8809, 52.6395)
Luminance0.1088 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EC3 #6CC32E
analogous
#3B2EC3 #852EC3 #C32EB6
triadic
#852EC3 #C3852E #2EC385
tetradic
#852EC3 #C33B2E #6CC32E #2EB6C3
square
#852EC3 #C33B2E #6CC32E #2EB6C3
split-complementary
#852EC3 #B6C32E #2EC33B
monochromatic
#411760 #632291 #852EC3 #A257D7 #BD88E3

Accessibility & contrast

On white

6.61
#852EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#852EC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852EC3
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EC3#FFFFFF#000000##FFFFFF
##852EC31.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#7A5477
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #852ec3;
/* rgb */ color: rgb(133, 46, 195);
/* oklch */ color: oklch(50.5% 0.218 306.5);
Tailwind
colors: {
  custom: {
    50: '#ae70d6',
    500: '#852ec3',
    950: '#000000',
  },
}
SCSS
$custom: #852ec3;
$custom-light: #ae70d6;
$custom-dark: #000000;
JSON
{
  "hex": "#852ec3",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 195
  },
  "hsl": {
    "h": 275.034,
    "s": 61.826,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50501,
    "c": 0.21752,
    "h": 306.5
  },
  "luminance": 0.10881
}

Semantic roles & 50–950 ramp

primary
#852EC3
secondary
#A0CD80
accent
#E54386
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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