#852DA3#852DA3

#852DA3 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.1% C 0.188 H 316.0°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#852DA3
RGBrgb(133, 45, 163)
HSLhsl(285, 57%, 41%)
HSVhsv(285, 72%, 64%)
CMYKcmyk(18.4%, 72.4%, 0%, 36.1%)
CIE-LABlab(36.95, 54.72, -46.46)
CIE-LCHlch(36.95, 71.78, 319.67°)
OKLaboklab(48.06% 0.1356 -0.1308)
OKLCHoklch(48.06% 0.188 316)
XYZxyz(17.2211, 9.5083, 35.5714)
Luminance0.0951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DA3 #4BA32D
analogous
#4A2DA3 #852DA3 #A32D86
triadic
#852DA3 #A3852D #2DA385
tetradic
#852DA3 #A34A2D #4BA32D #2D86A3
square
#852DA3 #A34A2D #4BA32D #2D86A3
split-complementary
#852DA3 #86A32D #2DA34A
monochromatic
#371343 #5E2073 #852DA3 #A842CB #BE72D8

Accessibility & contrast

On white

7.24
#852DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#852DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852DA3
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DA3#FFFFFF#000000##FFFFFF
##852DA31.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852da3;
/* rgb */ color: rgb(133, 45, 163);
/* oklch */ color: oklch(48.1% 0.188 316.0);
Tailwind
colors: {
  custom: {
    50: '#ac6ebf',
    500: '#852da3',
    950: '#000000',
  },
}
SCSS
$custom: #852da3;
$custom-light: #ac6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#852da3",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 163
  },
  "hsl": {
    "h": 284.746,
    "s": 56.731,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48056,
    "c": 0.18834,
    "h": 316
  },
  "luminance": 0.09508
}

Semantic roles & 50–950 ramp

primary
#852DA3
secondary
#81C06C
accent
#E0486E
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852DA3

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

Preview Lab → · Contrast checker → · Palette generator →

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