#852181#852181

#852181 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.8% C 0.173 H 329.8°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#852181
RGBrgb(133, 33, 129)
HSLhsl(302, 60%, 33%)
HSVhsv(302, 75%, 52%)
CMYKcmyk(0%, 75.2%, 3%, 47.8%)
CIE-LABlab(33.27, 52.83, -31.52)
CIE-LCHlch(33.27, 61.52, 329.18°)
OKLaboklab(44.75% 0.1493 -0.0871)
OKLCHoklch(44.75% 0.173 329.8)
XYZxyz(14.1791, 7.6603, 21.4964)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852181 #218525
analogous
#572185 #852181 #85214F
triadic
#852181 #818521 #218185
tetradic
#852181 #855721 #218525 #214F85
square
#852181 #855721 #218525 #214F85
split-complementary
#852181 #4F8521 #218557
monochromatic
#230922 #541551 #852181 #B62DB1 #D34DCE

Accessibility & contrast

On white

8.29
#852181 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#852181 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852181
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852181#FFFFFF#000000##FFFFFF
##8521811.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144684
Deuteranopia (green-blind)
#3F537F
Tritanopia (blue-blind)
#8A2F4F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #852181;
/* rgb */ color: rgb(133, 33, 129);
/* oklch */ color: oklch(44.8% 0.173 329.8);
Tailwind
colors: {
  custom: {
    50: '#ac68a6',
    500: '#852181',
    950: '#000000',
  },
}
SCSS
$custom: #852181;
$custom-light: #ac68a6;
$custom-dark: #000000;
JSON
{
  "hex": "#852181",
  "rgb": {
    "r": 133,
    "g": 33,
    "b": 129
  },
  "hsl": {
    "h": 302.4,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44751,
    "c": 0.17282,
    "h": 329.8
  },
  "luminance": 0.07659
}

Semantic roles & 50–950 ramp

primary
#852181
secondary
#4CB650
accent
#E34B44
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #852181

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

Preview Lab → · Contrast checker → · Palette generator →

#852181 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva