#852F99#852F99

#852F99 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.6% C 0.176 H 319.5°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#852F99
RGBrgb(133, 47, 153)
HSLhsl(289, 53%, 39%)
HSVhsv(289, 69%, 60%)
CMYKcmyk(13.1%, 69.3%, 0%, 40%)
CIE-LABlab(36.59, 51.88, -40.98)
CIE-LCHlch(36.59, 66.11, 321.69°)
OKLaboklab(47.6% 0.1341 -0.1147)
OKLCHoklch(47.6% 0.177 319.5)
XYZxyz(16.4384, 9.3203, 31.0639)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852F99 #43992F
analogous
#502F99 #852F99 #992F78
triadic
#852F99 #99852F #2F9985
tetradic
#852F99 #99502F #43992F #2F7899
square
#852F99 #99502F #43992F #2F7899
split-complementary
#852F99 #78992F #2F9950
monochromatic
#34123B #5C216A #852F99 #AC41C5 #C06FD3

Accessibility & contrast

On white

7.33
#852F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#852F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852F99
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852F99#FFFFFF#000000##FFFFFF
##852F991.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01509C
Deuteranopia (green-blind)
#375996
Tritanopia (blue-blind)
#854260
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #852f99;
/* rgb */ color: rgb(133, 47, 153);
/* oklch */ color: oklch(47.6% 0.176 319.5);
Tailwind
colors: {
  custom: {
    50: '#ac6fb7',
    500: '#852f99',
    950: '#000000',
  },
}
SCSS
$custom: #852f99;
$custom-light: #ac6fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#852f99",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 288.679,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.47599,
    "c": 0.1765,
    "h": 319.5
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

primary
#852F99
secondary
#79BA69
accent
#DC4B67
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #852F99

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

Preview Lab → · Contrast checker → · Palette generator →

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