#852CAB#852CAB

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

Color values

HEX#852CAB
RGBrgb(133, 44, 171)
HSLhsl(282, 59%, 42%)
HSVhsv(282, 74%, 67%)
CMYKcmyk(22.2%, 74.3%, 0%, 32.9%)
CIE-LABlab(37.35, 56.76, -50.60)
CIE-LCHlch(37.35, 76.04, 318.28°)
OKLaboklab(48.52% 0.1356 -0.1429)
OKLCHoklch(48.52% 0.197 313.5)
XYZxyz(17.9230, 9.7288, 39.4539)
Luminance0.0973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CAB #52AB2C
analogous
#452CAB #852CAB #AB2C92
triadic
#852CAB #AB852C #2CAB85
tetradic
#852CAB #AB452C #52AB2C #2C92AB
square
#852CAB #AB452C #52AB2C #2C92AB
split-complementary
#852CAB #92AB2C #2CAB45
monochromatic
#39134A #5F1F7A #852CAB #A645CF #BD76DC

Accessibility & contrast

On white

7.13
#852CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#852CAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852CAB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CAB#FFFFFF#000000##FFFFFF
##852CAB1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852cab;
/* rgb */ color: rgb(133, 44, 171);
/* oklch */ color: oklch(48.5% 0.197 313.5);
Tailwind
colors: {
  custom: {
    50: '#ad6ec5',
    500: '#852cab',
    950: '#000000',
  },
}
SCSS
$custom: #852cab;
$custom-light: #ad6ec5;
$custom-dark: #000000;
JSON
{
  "hex": "#852cab",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 171
  },
  "hsl": {
    "h": 282.047,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48517,
    "c": 0.19697,
    "h": 313.5
  },
  "luminance": 0.09728
}

Semantic roles & 50–950 ramp

primary
#852CAB
secondary
#89C36F
accent
#E24674
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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