#852FA0#852FA0

#852FA0 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.1% C 0.183 H 316.9°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#852FA0
RGBrgb(133, 47, 160)
HSLhsl(286, 55%, 41%)
HSVhsv(286, 71%, 63%)
CMYKcmyk(16.9%, 70.6%, 0%, 37.3%)
CIE-LABlab(37.04, 53.29, -44.51)
CIE-LCHlch(37.04, 69.43, 320.13°)
OKLaboklab(48.06% 0.1337 -0.125)
OKLCHoklch(48.06% 0.183 316.9)
XYZxyz(17.0336, 9.5583, 34.1986)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FA0 #4AA02F
analogous
#4D2FA0 #852FA0 #A02F82
triadic
#852FA0 #A0852F #2FA085
tetradic
#852FA0 #A04D2F #4AA02F #2F82A0
square
#852FA0 #A04D2F #4AA02F #2F82A0
split-complementary
#852FA0 #82A02F #2FA04D
monochromatic
#361341 #5E2171 #852FA0 #A944C8 #BE73D6

Accessibility & contrast

On white

7.21
#852FA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#852FA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852FA0
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FA0#FFFFFF#000000##FFFFFF
##852FA01.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A3
Deuteranopia (green-blind)
#315A9D
Tritanopia (blue-blind)
#844564
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852fa0;
/* rgb */ color: rgb(133, 47, 160);
/* oklch */ color: oklch(48.1% 0.183 316.9);
Tailwind
colors: {
  custom: {
    50: '#ac6fbd',
    500: '#852fa0',
    950: '#000000',
  },
}
SCSS
$custom: #852fa0;
$custom-light: #ac6fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#852fa0",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 285.664,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.48059,
    "c": 0.18307,
    "h": 316.9
  },
  "luminance": 0.09558
}

Semantic roles & 50–950 ramp

primary
#852FA0
secondary
#80BE6D
accent
#DE4A6D
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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