#852EA5#852EA5

#852EA5 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.189 H 315.3°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#852EA5
RGBrgb(133, 46, 165)
HSLhsl(284, 56%, 41%)
HSVhsv(284, 72%, 65%)
CMYKcmyk(19.4%, 72.1%, 0%, 35.3%)
CIE-LABlab(37.22, 54.72, -47.22)
CIE-LCHlch(37.22, 72.28, 319.21°)
OKLaboklab(48.3% 0.1343 -0.133)
OKLCHoklch(48.3% 0.189 315.3)
XYZxyz(17.4403, 9.6578, 36.5355)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EA5 #4EA52E
analogous
#4A2EA5 #852EA5 #A52E8A
triadic
#852EA5 #A5852E #2EA585
tetradic
#852EA5 #A54A2E #4EA52E #2E8AA5
square
#852EA5 #A54A2E #4EA52E #2E8AA5
split-complementary
#852EA5 #8AA52E #2EA54A
monochromatic
#381345 #5E2175 #852EA5 #A745CB #BE75D8

Accessibility & contrast

On white

7.16
#852EA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#852EA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852EA5
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EA5#FFFFFF#000000##FFFFFF
##852EA51.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A8
Deuteranopia (green-blind)
#2B5AA2
Tritanopia (blue-blind)
#834767
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #852ea5;
/* rgb */ color: rgb(133, 46, 165);
/* oklch */ color: oklch(48.3% 0.189 315.3);
Tailwind
colors: {
  custom: {
    50: '#ac6fc0',
    500: '#852ea5',
    950: '#000000',
  },
}
SCSS
$custom: #852ea5;
$custom-light: #ac6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#852ea5",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 283.866,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.48295,
    "c": 0.18901,
    "h": 315.3
  },
  "luminance": 0.09657
}

Semantic roles & 50–950 ramp

primary
#852EA5
secondary
#84C06F
accent
#E04871
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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