#852BAC#852BAC

#852BAC is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.5% C 0.199 H 313.3°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#852BAC
RGBrgb(133, 43, 172)
HSLhsl(282, 60%, 42%)
HSVhsv(282, 75%, 67%)
CMYKcmyk(22.7%, 75%, 0%, 32.5%)
CIE-LABlab(37.29, 57.35, -51.30)
CIE-LCHlch(37.29, 76.95, 318.19°)
OKLaboklab(48.49% 0.1364 -0.1449)
OKLCHoklch(48.49% 0.199 313.3)
XYZxyz(17.9818, 9.6934, 39.9455)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BAC #52AC2B
analogous
#442BAC #852BAC #AC2B93
triadic
#852BAC #AC852B #2BAC85
tetradic
#852BAC #AC442B #52AC2B #2B93AC
square
#852BAC #AC442B #52AC2B #2B93AC
split-complementary
#852BAC #93AC2B #2BAC44
monochromatic
#39134A #5F1F7B #852BAC #A644D0 #BD75DC

Accessibility & contrast

On white

7.15
#852BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#852BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852BAC
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BAC#FFFFFF#000000##FFFFFF
##852BAC1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#1E5AA9
Tritanopia (blue-blind)
#81486A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #852bac;
/* rgb */ color: rgb(133, 43, 172);
/* oklch */ color: oklch(48.5% 0.199 313.3);
Tailwind
colors: {
  custom: {
    50: '#ad6ec5',
    500: '#852bac',
    950: '#000000',
  },
}
SCSS
$custom: #852bac;
$custom-light: #ad6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#852bac",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 281.86,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48494,
    "c": 0.19902,
    "h": 313.3
  },
  "luminance": 0.09693
}

Semantic roles & 50–950 ramp

primary
#852BAC
secondary
#89C46F
accent
#E34575
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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