#852EA3#852EA3

#852EA3 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.187 H 316.0°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#852EA3
RGBrgb(133, 46, 163)
HSLhsl(285, 56%, 41%)
HSVhsv(285, 72%, 64%)
CMYKcmyk(18.4%, 71.8%, 0%, 36.1%)
CIE-LABlab(37.09, 54.31, -46.23)
CIE-LCHlch(37.09, 71.32, 319.60°)
OKLaboklab(48.16% 0.1345 -0.1301)
OKLCHoklch(48.16% 0.187 316)
XYZxyz(17.2597, 9.5855, 35.5843)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EA3 #4CA32E
analogous
#4A2EA3 #852EA3 #A32E86
triadic
#852EA3 #A3852E #2EA385
tetradic
#852EA3 #A34A2E #4CA32E #2E86A3
square
#852EA3 #A34A2E #4CA32E #2E86A3
split-complementary
#852EA3 #86A32E #2EA34A
monochromatic
#371344 #5E2173 #852EA3 #A844CA #BE74D8

Accessibility & contrast

On white

7.20
#852EA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#852EA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852EA3
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EA3#FFFFFF#000000##FFFFFF
##852EA31.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#2D5AA0
Tritanopia (blue-blind)
#834665
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852ea3;
/* rgb */ color: rgb(133, 46, 163);
/* oklch */ color: oklch(48.2% 0.187 316.0);
Tailwind
colors: {
  custom: {
    50: '#ac6fbf',
    500: '#852ea3',
    950: '#000000',
  },
}
SCSS
$custom: #852ea3;
$custom-light: #ac6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#852ea3",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 284.615,
    "s": 55.981,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48157,
    "c": 0.18713,
    "h": 316
  },
  "luminance": 0.09585
}

Semantic roles & 50–950 ramp

primary
#852EA3
secondary
#82BF6D
accent
#DF496F
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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