#852EA2#852EA2

#852EA2 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.186 H 316.3°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#852EA2
RGBrgb(133, 46, 162)
HSLhsl(285, 56%, 41%)
HSVhsv(285, 72%, 64%)
CMYKcmyk(17.9%, 71.6%, 0%, 36.5%)
CIE-LABlab(37.02, 54.11, -45.74)
CIE-LCHlch(37.02, 70.85, 319.79°)
OKLaboklab(48.09% 0.1346 -0.1286)
OKLCHoklch(48.09% 0.186 316.3)
XYZxyz(17.1704, 9.5498, 35.1143)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EA2 #4BA22E
analogous
#4B2EA2 #852EA2 #A22E85
triadic
#852EA2 #A2852E #2EA285
tetradic
#852EA2 #A24B2E #4BA22E #2E85A2
square
#852EA2 #A24B2E #4BA22E #2E85A2
split-complementary
#852EA2 #85A22E #2EA24B
monochromatic
#371343 #5E2072 #852EA2 #A843CA #BE73D7

Accessibility & contrast

On white

7.22
#852EA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#852EA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852EA2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EA2#FFFFFF#000000##FFFFFF
##852EA21.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A5
Deuteranopia (green-blind)
#2E5A9F
Tritanopia (blue-blind)
#834565
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852ea2;
/* rgb */ color: rgb(133, 46, 162);
/* oklch */ color: oklch(48.1% 0.186 316.3);
Tailwind
colors: {
  custom: {
    50: '#ac6fbe',
    500: '#852ea2',
    950: '#000000',
  },
}
SCSS
$custom: #852ea2;
$custom-light: #ac6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#852ea2",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 162
  },
  "hsl": {
    "h": 285,
    "s": 55.769,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48089,
    "c": 0.18619,
    "h": 316.3
  },
  "luminance": 0.09549
}

Semantic roles & 50–950 ramp

primary
#852EA2
secondary
#81BF6D
accent
#DF496E
background
#FAF7FB
surface
#F5EDF7
border
#CFC8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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