#852CA5#852CA5

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

Color values

HEX#852CA5
RGBrgb(133, 44, 165)
HSLhsl(284, 58%, 41%)
HSVhsv(284, 73%, 65%)
CMYKcmyk(19.4%, 73.3%, 0%, 35.3%)
CIE-LABlab(36.94, 55.52, -47.67)
CIE-LCHlch(36.94, 73.18, 319.35°)
OKLaboklab(48.09% 0.1364 -0.1343)
OKLCHoklch(48.09% 0.191 315.4)
XYZxyz(17.3640, 9.5052, 36.5100)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CA5 #4CA52C
analogous
#482CA5 #852CA5 #A52C88
triadic
#852CA5 #A5852C #2CA585
tetradic
#852CA5 #A5482C #4CA52C #2C88A5
square
#852CA5 #A5482C #4CA52C #2C88A5
split-complementary
#852CA5 #88A52C #2CA548
monochromatic
#371244 #5E1F75 #852CA5 #A842CD #BE72D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##852CA5#FFFFFF#000000##FFFFFF
##852CA51.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)
#0052A8
Deuteranopia (green-blind)
#2959A2
Tritanopia (blue-blind)
#834666
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852ca5;
/* rgb */ color: rgb(133, 44, 165);
/* oklch */ color: oklch(48.1% 0.191 315.4);
Tailwind
colors: {
  custom: {
    50: '#ac6ec0',
    500: '#852ca5',
    950: '#000000',
  },
}
SCSS
$custom: #852ca5;
$custom-light: #ac6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#852ca5",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 165
  },
  "hsl": {
    "h": 284.132,
    "s": 57.895,
    "l": 40.98
  },
  "oklch": {
    "l": 0.48094,
    "c": 0.19138,
    "h": 315.4
  },
  "luminance": 0.09505
}

Semantic roles & 50–950 ramp

primary
#852CA5
secondary
#82C16C
accent
#E14770
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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