#852FA7#852FA7

#852FA7 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.5% C 0.190 H 314.5°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#852FA7
RGBrgb(133, 47, 167)
HSLhsl(283, 56%, 42%)
HSVhsv(283, 72%, 65%)
CMYKcmyk(20.4%, 71.9%, 0%, 34.5%)
CIE-LABlab(37.50, 54.73, -47.97)
CIE-LCHlch(37.50, 72.78, 318.77°)
OKLaboklab(48.54% 0.1331 -0.1352)
OKLCHoklch(48.54% 0.19 314.5)
XYZxyz(17.6633, 9.8102, 37.5148)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FA7 #51A72F
analogous
#492FA7 #852FA7 #A72F8D
triadic
#852FA7 #A7852F #2FA785
tetradic
#852FA7 #A7492F #51A72F #2F8DA7
square
#852FA7 #A7492F #51A72F #2F8DA7
split-complementary
#852FA7 #8DA72F #2FA749
monochromatic
#391447 #5F2277 #852FA7 #A648CB #BD78D9

Accessibility & contrast

On white

7.09
#852FA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#852FA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852FA7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FA7#FFFFFF#000000##FFFFFF
##852FA71.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AA
Deuteranopia (green-blind)
#295AA4
Tritanopia (blue-blind)
#824868
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #852fa7;
/* rgb */ color: rgb(133, 47, 167);
/* oklch */ color: oklch(48.5% 0.190 314.5);
Tailwind
colors: {
  custom: {
    50: '#ac6fc2',
    500: '#852fa7',
    950: '#000000',
  },
}
SCSS
$custom: #852fa7;
$custom-light: #ac6fc2;
$custom-dark: #000000;
JSON
{
  "hex": "#852fa7",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 167
  },
  "hsl": {
    "h": 283,
    "s": 56.075,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48536,
    "c": 0.18969,
    "h": 314.5
  },
  "luminance": 0.0981
}

Semantic roles & 50–950 ramp

primary
#852FA7
secondary
#88C171
accent
#DF4873
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110812
muted
#807B81

Preview Lab

Preview with #852FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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