#852E8A#852E8A

#852E8A is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.164 H 325.6°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#852E8A
RGBrgb(133, 46, 138)
HSLhsl(297, 50%, 36%)
HSVhsv(297, 67%, 54%)
CMYKcmyk(3.6%, 66.7%, 0%, 45.9%)
CIE-LABlab(35.55, 49.42, -33.48)
CIE-LCHlch(35.55, 59.69, 325.89°)
OKLaboklab(46.56% 0.1354 -0.0928)
OKLCHoklch(46.56% 0.164 325.6)
XYZxyz(15.2370, 8.7765, 24.9313)
Luminance0.0878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852E8A #338A2E
analogous
#572E8A #852E8A #8A2E61
triadic
#852E8A #8A852E #2E8A85
tetradic
#852E8A #8A572E #338A2E #2E618A
square
#852E8A #8A572E #338A2E #2E618A
split-complementary
#852E8A #618A2E #2E8A57
monochromatic
#2D0F2E #591F5C #852E8A #B13DB8 #C766CC

Accessibility & contrast

On white

7.62
#852E8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#852E8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852E8A
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852E8A#FFFFFF#000000##FFFFFF
##852E8A1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4D8D
Deuteranopia (green-blind)
#405788
Tritanopia (blue-blind)
#883C58
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #852e8a;
/* rgb */ color: rgb(133, 46, 138);
/* oklch */ color: oklch(46.6% 0.164 325.6);
Tailwind
colors: {
  custom: {
    50: '#ab6eac',
    500: '#852e8a',
    950: '#000000',
  },
}
SCSS
$custom: #852e8a;
$custom-light: #ab6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#852e8a",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 296.739,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4656,
    "c": 0.16415,
    "h": 325.6
  },
  "luminance": 0.08776
}

Semantic roles & 50–950 ramp

primary
#852E8A
secondary
#65B361
accent
#DA4E56
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #852E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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