#852AB1#852AB1

#852AB1 is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.8% C 0.205 H 311.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#852AB1
RGBrgb(133, 42, 177)
HSLhsl(280, 62%, 43%)
HSVhsv(280, 76%, 69%)
CMYKcmyk(24.9%, 76.3%, 0%, 30.6%)
CIE-LABlab(37.51, 58.77, -53.91)
CIE-LCHlch(37.51, 79.75, 317.47°)
OKLaboklab(48.77% 0.1364 -0.1526)
OKLCHoklch(48.77% 0.205 311.8)
XYZxyz(18.4352, 9.8173, 42.5102)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852AB1 #56B12A
analogous
#412AB1 #852AB1 #B12A9A
triadic
#852AB1 #B1852A #2AB185
tetradic
#852AB1 #B1412A #56B12A #2A9AB1
square
#852AB1 #B1412A #56B12A #2A9AB1
split-complementary
#852AB1 #9AB12A #2AB141
monochromatic
#3B134E #601E80 #852AB1 #A545D3 #BD77DF

Accessibility & contrast

On white

7.09
#852AB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#852AB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852AB1
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852AB1#FFFFFF#000000##FFFFFF
##852AB11.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B5
Deuteranopia (green-blind)
#125AAE
Tritanopia (blue-blind)
#804A6C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #852ab1;
/* rgb */ color: rgb(133, 42, 177);
/* oklch */ color: oklch(48.8% 0.205 311.8);
Tailwind
colors: {
  custom: {
    50: '#ad6ec9',
    500: '#852ab1',
    950: '#000000',
  },
}
SCSS
$custom: #852ab1;
$custom-light: #ad6ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#852ab1",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 280.444,
    "s": 61.644,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48766,
    "c": 0.20472,
    "h": 311.8
  },
  "luminance": 0.09817
}

Semantic roles & 50–950 ramp

primary
#852AB1
secondary
#8CC670
accent
#E54378
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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