#852FA6#852FA6

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

Color values

HEX#852FA6
RGBrgb(133, 47, 166)
HSLhsl(283, 56%, 42%)
HSVhsv(283, 72%, 65%)
CMYKcmyk(19.9%, 71.7%, 0%, 34.9%)
CIE-LABlab(37.43, 54.52, -47.48)
CIE-LCHlch(37.43, 72.30, 318.95°)
OKLaboklab(48.47% 0.1332 -0.1337)
OKLCHoklch(48.47% 0.189 314.9)
XYZxyz(17.5712, 9.7734, 37.0299)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FA6 #50A62F
analogous
#492FA6 #852FA6 #A62F8C
triadic
#852FA6 #A6852F #2FA685
tetradic
#852FA6 #A6492F #50A62F #2F8CA6
square
#852FA6 #A6492F #50A62F #2F8CA6
split-complementary
#852FA6 #8CA62F #2FA649
monochromatic
#391447 #5F2176 #852FA6 #A647CB #BD77D8

Accessibility & contrast

On white

7.11
#852FA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #852FA6
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FA6#FFFFFF#000000##FFFFFF
##852FA61.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A9
Deuteranopia (green-blind)
#2B5AA3
Tritanopia (blue-blind)
#824867
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #852fa6;
/* rgb */ color: rgb(133, 47, 166);
/* oklch */ color: oklch(48.5% 0.189 314.9);
Tailwind
colors: {
  custom: {
    50: '#ac6fc1',
    500: '#852fa6',
    950: '#000000',
  },
}
SCSS
$custom: #852fa6;
$custom-light: #ac6fc1;
$custom-dark: #000000;
JSON
{
  "hex": "#852fa6",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 166
  },
  "hsl": {
    "h": 283.361,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.48467,
    "c": 0.18875,
    "h": 314.9
  },
  "luminance": 0.09773
}

Semantic roles & 50–950 ramp

primary
#852FA6
secondary
#87C170
accent
#DF4972
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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