#852BAB#852BAB

#852BAB is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.4% C 0.198 H 313.6°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#852BAB
RGBrgb(133, 43, 171)
HSLhsl(282, 60%, 42%)
HSVhsv(282, 75%, 67%)
CMYKcmyk(22.2%, 74.9%, 0%, 32.9%)
CIE-LABlab(37.22, 57.14, -50.82)
CIE-LCHlch(37.22, 76.47, 318.35°)
OKLaboklab(48.42% 0.1365 -0.1435)
OKLCHoklch(48.42% 0.198 313.6)
XYZxyz(17.8861, 9.6551, 39.4416)
Luminance0.0965 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BAB #51AB2B
analogous
#452BAB #852BAB #AB2B91
triadic
#852BAB #AB852B #2BAB85
tetradic
#852BAB #AB452B #51AB2B #2B91AB
square
#852BAB #AB452B #51AB2B #2B91AB
split-complementary
#852BAB #91AB2B #2BAB45
monochromatic
#391249 #5F1F7A #852BAB #A643D0 #BD74DC

Accessibility & contrast

On white

7.16
#852BAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#852BAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852BAB
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BAB#FFFFFF#000000##FFFFFF
##852BAB1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AF
Deuteranopia (green-blind)
#205AA8
Tritanopia (blue-blind)
#814869
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #852bab;
/* rgb */ color: rgb(133, 43, 171);
/* oklch */ color: oklch(48.4% 0.198 313.6);
Tailwind
colors: {
  custom: {
    50: '#ad6ec5',
    500: '#852bab',
    950: '#000000',
  },
}
SCSS
$custom: #852bab;
$custom-light: #ad6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#852bab",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 171
  },
  "hsl": {
    "h": 282.188,
    "s": 59.813,
    "l": 41.961
  },
  "oklch": {
    "l": 0.48422,
    "c": 0.19809,
    "h": 313.6
  },
  "luminance": 0.09655
}

Semantic roles & 50–950 ramp

primary
#852BAB
secondary
#88C46E
accent
#E34574
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852BAB

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

Preview Lab → · Contrast checker → · Palette generator →

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