#852CAF#852CAF

#852CAF is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.8% C 0.201 H 312.3°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#852CAF
RGBrgb(133, 44, 175)
HSLhsl(281, 60%, 43%)
HSVhsv(281, 75%, 69%)
CMYKcmyk(24%, 74.9%, 0%, 31.4%)
CIE-LABlab(37.63, 57.60, -52.53)
CIE-LCHlch(37.63, 77.95, 317.63°)
OKLaboklab(48.81% 0.135 -0.1486)
OKLCHoklch(48.81% 0.201 312.3)
XYZxyz(18.3100, 9.8836, 41.4923)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CAF #56AF2C
analogous
#432CAF #852CAF #AF2C97
triadic
#852CAF #AF852C #2CAF85
tetradic
#852CAF #AF432C #56AF2C #2C97AF
square
#852CAF #AF432C #56AF2C #2C97AF
split-complementary
#852CAF #97AF2C #2CAF43
monochromatic
#3B134D #60207E #852CAF #A547D1 #BD78DD

Accessibility & contrast

On white

7.06
#852CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#852CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852CAF
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CAF#FFFFFF#000000##FFFFFF
##852CAF1.007.062.987.06
#FFFFFF7.061.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#1A5AAC
Tritanopia (blue-blind)
#804A6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852caf;
/* rgb */ color: rgb(133, 44, 175);
/* oklch */ color: oklch(48.8% 0.201 312.3);
Tailwind
colors: {
  custom: {
    50: '#ad6ec8',
    500: '#852caf',
    950: '#000000',
  },
}
SCSS
$custom: #852caf;
$custom-light: #ad6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#852caf",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 280.763,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48806,
    "c": 0.20071,
    "h": 312.3
  },
  "luminance": 0.09883
}

Semantic roles & 50–950 ramp

primary
#852CAF
secondary
#8CC572
accent
#E34578
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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