#852EA1#852EA1

#852EA1 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.185 H 316.6°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#852EA1
RGBrgb(133, 46, 161)
HSLhsl(285, 56%, 41%)
HSVhsv(285, 71%, 63%)
CMYKcmyk(17.4%, 71.4%, 0%, 36.9%)
CIE-LABlab(36.96, 53.90, -45.24)
CIE-LCHlch(36.96, 70.37, 320.00°)
OKLaboklab(48.02% 0.1347 -0.1272)
OKLCHoklch(48.02% 0.185 316.6)
XYZxyz(17.0819, 9.5144, 34.6480)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EA1 #4AA12E
analogous
#4B2EA1 #852EA1 #A12E84
triadic
#852EA1 #A1852E #2EA185
tetradic
#852EA1 #A14B2E #4AA12E #2E84A1
square
#852EA1 #A14B2E #4AA12E #2E84A1
split-complementary
#852EA1 #84A12E #2EA14B
monochromatic
#361342 #5E2071 #852EA1 #A943C9 #BE73D7

Accessibility & contrast

On white

7.23
#852EA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#852EA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852EA1
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EA1#FFFFFF#000000##FFFFFF
##852EA11.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A4
Deuteranopia (green-blind)
#2F599E
Tritanopia (blue-blind)
#834564
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852ea1;
/* rgb */ color: rgb(133, 46, 161);
/* oklch */ color: oklch(48.0% 0.185 316.6);
Tailwind
colors: {
  custom: {
    50: '#ac6fbd',
    500: '#852ea1',
    950: '#000000',
  },
}
SCSS
$custom: #852ea1;
$custom-light: #ac6fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#852ea1",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 285.391,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48022,
    "c": 0.18525,
    "h": 316.6
  },
  "luminance": 0.09514
}

Semantic roles & 50–950 ramp

primary
#852EA1
secondary
#80BE6C
accent
#DF496D
background
#FAF7FB
surface
#F5EDF7
border
#CFC8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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