#852DA4#852DA4

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

Color values

HEX#852DA4
RGBrgb(133, 45, 164)
HSLhsl(284, 57%, 41%)
HSVhsv(284, 73%, 64%)
CMYKcmyk(18.9%, 72.6%, 0%, 35.7%)
CIE-LABlab(37.01, 54.92, -46.95)
CIE-LCHlch(37.01, 72.26, 319.47°)
OKLaboklab(48.12% 0.1354 -0.1322)
OKLCHoklch(48.12% 0.189 315.7)
XYZxyz(17.3110, 9.5443, 36.0451)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DA4 #4CA42D
analogous
#492DA4 #852DA4 #A42D87
triadic
#852DA4 #A4852D #2DA485
tetradic
#852DA4 #A4492D #4CA42D #2D87A4
square
#852DA4 #A4492D #4CA42D #2D87A4
split-complementary
#852DA4 #87A42D #2DA449
monochromatic
#371344 #5E2074 #852DA4 #A843CB #BE73D9

Accessibility & contrast

On white

7.22
#852DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#852DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852DA4
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DA4#FFFFFF#000000##FFFFFF
##852DA41.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#2B59A1
Tritanopia (blue-blind)
#834666
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852da4;
/* rgb */ color: rgb(133, 45, 164);
/* oklch */ color: oklch(48.1% 0.189 315.7);
Tailwind
colors: {
  custom: {
    50: '#ac6ec0',
    500: '#852da4',
    950: '#000000',
  },
}
SCSS
$custom: #852da4;
$custom-light: #ac6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#852da4",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 164
  },
  "hsl": {
    "h": 284.37,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48124,
    "c": 0.18927,
    "h": 315.7
  },
  "luminance": 0.09544
}

Semantic roles & 50–950 ramp

primary
#852DA4
secondary
#82C06D
accent
#E0486F
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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