#852CA4#852CA4

#852CA4 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.190 H 315.8°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#852CA4
RGBrgb(133, 44, 164)
HSLhsl(285, 58%, 41%)
HSVhsv(285, 73%, 64%)
CMYKcmyk(18.9%, 73.2%, 0%, 35.7%)
CIE-LABlab(36.87, 55.32, -47.18)
CIE-LCHlch(36.87, 72.71, 319.54°)
OKLaboklab(48.03% 0.1365 -0.1329)
OKLCHoklch(48.03% 0.19 315.8)
XYZxyz(17.2733, 9.4689, 36.0326)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CA4 #4BA42C
analogous
#492CA4 #852CA4 #A42C87
triadic
#852CA4 #A4852C #2CA485
tetradic
#852CA4 #A4492C #4BA42C #2C87A4
square
#852CA4 #A4492C #4BA42C #2C87A4
split-complementary
#852CA4 #87A42C #2CA449
monochromatic
#371243 #5E1F74 #852CA4 #A841CC #BE71D9

Accessibility & contrast

On white

7.26
#852CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#852CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852CA4
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CA4#FFFFFF#000000##FFFFFF
##852CA41.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852ca4;
/* rgb */ color: rgb(133, 44, 164);
/* oklch */ color: oklch(48.0% 0.190 315.8);
Tailwind
colors: {
  custom: {
    50: '#ac6ec0',
    500: '#852ca4',
    950: '#000000',
  },
}
SCSS
$custom: #852ca4;
$custom-light: #ac6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#852ca4",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 164
  },
  "hsl": {
    "h": 284.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48025,
    "c": 0.19046,
    "h": 315.8
  },
  "luminance": 0.09468
}

Semantic roles & 50–950 ramp

primary
#852CA4
secondary
#81C06B
accent
#E1476F
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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