#852AAA#852AAA

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

Color values

HEX#852AAA
RGBrgb(133, 42, 170)
HSLhsl(283, 60%, 42%)
HSVhsv(283, 75%, 67%)
CMYKcmyk(21.8%, 75.3%, 0%, 33.3%)
CIE-LABlab(37.01, 57.32, -50.55)
CIE-LCHlch(37.01, 76.42, 318.59°)
OKLaboklab(48.26% 0.1376 -0.1427)
OKLCHoklch(48.26% 0.198 314)
XYZxyz(17.7553, 9.5453, 38.9296)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852AAA #4FAA2A
analogous
#452AAA #852AAA #AA2A8F
triadic
#852AAA #AA852A #2AAA85
tetradic
#852AAA #AA452A #4FAA2A #2A8FAA
square
#852AAA #AA452A #4FAA2A #2A8FAA
split-complementary
#852AAA #8FAA2A #2AAA45
monochromatic
#381248 #5F1E79 #852AAA #A741D0 #BE72DC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##852AAA#FFFFFF#000000##FFFFFF
##852AAA1.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)
#0052AE
Deuteranopia (green-blind)
#2059A7
Tritanopia (blue-blind)
#814768
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852aaa;
/* rgb */ color: rgb(133, 42, 170);
/* oklch */ color: oklch(48.3% 0.198 314.0);
Tailwind
colors: {
  custom: {
    50: '#ad6dc4',
    500: '#852aaa',
    950: '#000000',
  },
}
SCSS
$custom: #852aaa;
$custom-light: #ad6dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#852aaa",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 282.656,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48256,
    "c": 0.19826,
    "h": 314
  },
  "luminance": 0.09545
}

Semantic roles & 50–950 ramp

primary
#852AAA
secondary
#86C36C
accent
#E44472
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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