#852FA5#852FA5

#852FA5 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.188 H 315.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#852FA5
RGBrgb(133, 47, 165)
HSLhsl(284, 56%, 42%)
HSVhsv(284, 72%, 65%)
CMYKcmyk(19.4%, 71.5%, 0%, 35.3%)
CIE-LABlab(37.37, 54.31, -46.99)
CIE-LCHlch(37.37, 71.82, 319.14°)
OKLaboklab(48.4% 0.1333 -0.1323)
OKLCHoklch(48.4% 0.188 315.2)
XYZxyz(17.4798, 9.7368, 36.5486)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FA5 #4FA52F
analogous
#4A2FA5 #852FA5 #A52F8A
triadic
#852FA5 #A5852F #2FA585
tetradic
#852FA5 #A54A2F #4FA52F #2F8AA5
square
#852FA5 #A54A2F #4FA52F #2F8AA5
split-complementary
#852FA5 #8AA52F #2FA54A
monochromatic
#381446 #5F2175 #852FA5 #A747CB #BE76D8

Accessibility & contrast

On white

7.13
#852FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#852FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852FA5
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FA5#FFFFFF#000000##FFFFFF
##852FA51.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852fa5;
/* rgb */ color: rgb(133, 47, 165);
/* oklch */ color: oklch(48.4% 0.188 315.2);
Tailwind
colors: {
  custom: {
    50: '#ac6fc0',
    500: '#852fa5',
    950: '#000000',
  },
}
SCSS
$custom: #852fa5;
$custom-light: #ac6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#852fa5",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 283.729,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48398,
    "c": 0.1878,
    "h": 315.2
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#852FA5
secondary
#86C070
accent
#DF4972
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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