#852AB2#852AB2

#852AB2 is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 48.8% C 0.206 H 311.5°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#852AB2
RGBrgb(133, 42, 178)
HSLhsl(280, 62%, 43%)
HSVhsv(280, 76%, 70%)
CMYKcmyk(25.3%, 76.4%, 0%, 30.2%)
CIE-LABlab(37.59, 58.98, -54.39)
CIE-LCHlch(37.59, 80.23, 317.32°)
OKLaboklab(48.84% 0.1363 -0.154)
OKLCHoklch(48.84% 0.206 311.5)
XYZxyz(18.5352, 9.8573, 43.0371)
Luminance0.0986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852AB2 #57B22A
analogous
#412AB2 #852AB2 #B22A9B
triadic
#852AB2 #B2852A #2AB285
tetradic
#852AB2 #B2412A #57B22A #2A9BB2
square
#852AB2 #B2412A #57B22A #2A9BB2
split-complementary
#852AB2 #9BB22A #2AB241
monochromatic
#3B134F #601E80 #852AB2 #A546D3 #BD77DF

Accessibility & contrast

On white

7.07
#852AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#852AB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852AB2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852AB2#FFFFFF#000000##FFFFFF
##852AB21.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#0F5AAF
Tritanopia (blue-blind)
#7F4A6D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #852ab2;
/* rgb */ color: rgb(133, 42, 178);
/* oklch */ color: oklch(48.8% 0.206 311.5);
Tailwind
colors: {
  custom: {
    50: '#ad6eca',
    500: '#852ab2',
    950: '#000000',
  },
}
SCSS
$custom: #852ab2;
$custom-light: #ad6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#852ab2",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 280.147,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4884,
    "c": 0.20564,
    "h": 311.5
  },
  "luminance": 0.09857
}

Semantic roles & 50–950 ramp

primary
#852AB2
secondary
#8DC771
accent
#E54379
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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