#852D99#852D99

#852D99 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.4% C 0.179 H 319.6°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#852D99
RGBrgb(133, 45, 153)
HSLhsl(289, 55%, 39%)
HSVhsv(289, 71%, 60%)
CMYKcmyk(13.1%, 70.6%, 0%, 40%)
CIE-LABlab(36.30, 52.71, -41.46)
CIE-LCHlch(36.30, 67.06, 321.82°)
OKLaboklab(47.39% 0.1363 -0.1161)
OKLCHoklch(47.39% 0.179 319.6)
XYZxyz(16.3603, 9.1640, 31.0379)
Luminance0.0916 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852D99 #41992D
analogous
#4F2D99 #852D99 #992D77
triadic
#852D99 #99852D #2D9985
tetradic
#852D99 #994F2D #41992D #2D7799
square
#852D99 #994F2D #41992D #2D7799
split-complementary
#852D99 #77992D #2D994F
monochromatic
#33113A #5C1F6A #852D99 #AD3DC6 #C16CD4

Accessibility & contrast

On white

7.41
#852D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#852D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852D99
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852D99#FFFFFF#000000##FFFFFF
##852D991.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9C
Deuteranopia (green-blind)
#355896
Tritanopia (blue-blind)
#854160
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #852d99;
/* rgb */ color: rgb(133, 45, 153);
/* oklch */ color: oklch(47.4% 0.179 319.6);
Tailwind
colors: {
  custom: {
    50: '#ac6eb8',
    500: '#852d99',
    950: '#000000',
  },
}
SCSS
$custom: #852d99;
$custom-light: #ac6eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#852d99",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 288.889,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47387,
    "c": 0.17907,
    "h": 319.6
  },
  "luminance": 0.09163
}

Semantic roles & 50–950 ramp

primary
#852D99
secondary
#76BB67
accent
#DE4A65
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #852D99

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

Preview Lab → · Contrast checker → · Palette generator →

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