#852BAA#852BAA

#852BAA is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.4% C 0.197 H 313.9°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#852BAA
RGBrgb(133, 43, 170)
HSLhsl(283, 60%, 42%)
HSVhsv(283, 75%, 67%)
CMYKcmyk(21.8%, 74.7%, 0%, 33.3%)
CIE-LABlab(37.15, 56.94, -50.33)
CIE-LCHlch(37.15, 76.00, 318.52°)
OKLaboklab(48.35% 0.1367 -0.1421)
OKLCHoklch(48.35% 0.197 313.9)
XYZxyz(17.7912, 9.6172, 38.9415)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BAA #50AA2B
analogous
#462BAA #852BAA #AA2B90
triadic
#852BAA #AA852B #2BAA85
tetradic
#852BAA #AA462B #50AA2B #2B90AA
square
#852BAA #AA462B #50AA2B #2B90AA
split-complementary
#852BAA #90AA2B #2BAA46
monochromatic
#391248 #5F1F79 #852BAA #A643CF #BD74DC

Accessibility & contrast

On white

7.18
#852BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#852BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852BAA
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BAA#FFFFFF#000000##FFFFFF
##852BAA1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AE
Deuteranopia (green-blind)
#2159A7
Tritanopia (blue-blind)
#814769
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852baa;
/* rgb */ color: rgb(133, 43, 170);
/* oklch */ color: oklch(48.4% 0.197 313.9);
Tailwind
colors: {
  custom: {
    50: '#ad6ec4',
    500: '#852baa',
    950: '#000000',
  },
}
SCSS
$custom: #852baa;
$custom-light: #ad6ec4;
$custom-dark: #000000;
JSON
{
  "hex": "#852baa",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 282.52,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.4835,
    "c": 0.19716,
    "h": 313.9
  },
  "luminance": 0.09617
}

Semantic roles & 50–950 ramp

primary
#852BAA
secondary
#87C36E
accent
#E34573
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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