#852D98#852D98

#852D98 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.3% C 0.178 H 320.0°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#852D98
RGBrgb(133, 45, 152)
HSLhsl(289, 54%, 39%)
HSVhsv(289, 70%, 60%)
CMYKcmyk(12.5%, 70.4%, 0%, 40.4%)
CIE-LABlab(36.24, 52.51, -40.95)
CIE-LCHlch(36.24, 66.59, 322.05°)
OKLaboklab(47.32% 0.1364 -0.1146)
OKLCHoklch(47.32% 0.178 320)
XYZxyz(16.2780, 9.1311, 30.6047)
Luminance0.0913 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852D98 #40982D
analogous
#4F2D98 #852D98 #982D75
triadic
#852D98 #98852D #2D9885
tetradic
#852D98 #984F2D #40982D #2D7598
square
#852D98 #984F2D #40982D #2D7598
split-complementary
#852D98 #75982D #2D984F
monochromatic
#32113A #5C1F69 #852D98 #AD3DC5 #C16CD3

Accessibility & contrast

On white

7.43
#852D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #852D98
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852D98#FFFFFF#000000##FFFFFF
##852D981.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9B
Deuteranopia (green-blind)
#365895
Tritanopia (blue-blind)
#85415F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #852d98;
/* rgb */ color: rgb(133, 45, 152);
/* oklch */ color: oklch(47.3% 0.178 320.0);
Tailwind
colors: {
  custom: {
    50: '#ac6eb7',
    500: '#852d98',
    950: '#000000',
  },
}
SCSS
$custom: #852d98;
$custom-light: #ac6eb7;
$custom-dark: #000000;
JSON
{
  "hex": "#852d98",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 152
  },
  "hsl": {
    "h": 289.346,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47322,
    "c": 0.17816,
    "h": 320
  },
  "luminance": 0.0913
}

Semantic roles & 50–950 ramp

primary
#852D98
secondary
#75BA66
accent
#DE4A64
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110811
muted
#807B80

Preview Lab

Preview with #852D98

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

Preview Lab → · Contrast checker → · Palette generator →

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