#852FA2#852FA2

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

Color values

HEX#852FA2
RGBrgb(133, 47, 162)
HSLhsl(285, 55%, 41%)
HSVhsv(285, 71%, 64%)
CMYKcmyk(17.9%, 71%, 0%, 36.5%)
CIE-LABlab(37.17, 53.70, -45.50)
CIE-LCHlch(37.17, 70.38, 319.72°)
OKLaboklab(48.19% 0.1336 -0.128)
OKLCHoklch(48.19% 0.185 316.2)
XYZxyz(17.2100, 9.6289, 35.1274)
Luminance0.0963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FA2 #4CA22F
analogous
#4C2FA2 #852FA2 #A22F85
triadic
#852FA2 #A2852F #2FA285
tetradic
#852FA2 #A24C2F #4CA22F #2F85A2
square
#852FA2 #A24C2F #4CA22F #2F85A2
split-complementary
#852FA2 #85A22F #2FA24C
monochromatic
#371343 #5E2173 #852FA2 #A845C9 #BE75D7

Accessibility & contrast

On white

7.18
#852FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #852FA2
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FA2#FFFFFF#000000##FFFFFF
##852FA21.007.182.937.18
#FFFFFF7.181.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852fa2;
/* rgb */ color: rgb(133, 47, 162);
/* oklch */ color: oklch(48.2% 0.185 316.2);
Tailwind
colors: {
  custom: {
    50: '#ac6fbe',
    500: '#852fa2',
    950: '#000000',
  },
}
SCSS
$custom: #852fa2;
$custom-light: #ac6fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#852fa2",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 284.87,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48193,
    "c": 0.18496,
    "h": 316.2
  },
  "luminance": 0.09628
}

Semantic roles & 50–950 ramp

primary
#852FA2
secondary
#82BF6E
accent
#DE496F
background
#FAF7FB
surface
#F5EDF7
border
#CFC8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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