#852EA9#852EA9

#852EA9 is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.193 H 314.0°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#852EA9
RGBrgb(133, 46, 169)
HSLhsl(282, 57%, 42%)
HSVhsv(282, 73%, 66%)
CMYKcmyk(21.3%, 72.8%, 0%, 33.7%)
CIE-LABlab(37.49, 55.55, -49.18)
CIE-LCHlch(37.49, 74.19, 318.48°)
OKLaboklab(48.57% 0.1339 -0.1387)
OKLCHoklch(48.57% 0.193 314)
XYZxyz(17.8101, 9.8057, 38.4829)
Luminance0.0980 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EA9 #52A92E
analogous
#482EA9 #852EA9 #A92E90
triadic
#852EA9 #A9852E #2EA985
tetradic
#852EA9 #A9482E #52A92E #2E90A9
square
#852EA9 #A9482E #52A92E #2E90A9
split-complementary
#852EA9 #90A92E #2EA948
monochromatic
#391449 #5F2179 #852EA9 #A647CD #BD77DA

Accessibility & contrast

On white

7.09
#852EA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#852EA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852EA9
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EA9#FFFFFF#000000##FFFFFF
##852EA91.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#265AA6
Tritanopia (blue-blind)
#824869
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #852ea9;
/* rgb */ color: rgb(133, 46, 169);
/* oklch */ color: oklch(48.6% 0.193 314.0);
Tailwind
colors: {
  custom: {
    50: '#ac6fc3',
    500: '#852ea9',
    950: '#000000',
  },
}
SCSS
$custom: #852ea9;
$custom-light: #ac6fc3;
$custom-dark: #000000;
JSON
{
  "hex": "#852ea9",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 169
  },
  "hsl": {
    "h": 282.439,
    "s": 57.209,
    "l": 42.157
  },
  "oklch": {
    "l": 0.48573,
    "c": 0.19279,
    "h": 314
  },
  "luminance": 0.09805
}

Semantic roles & 50–950 ramp

primary
#852EA9
secondary
#89C271
accent
#E04774
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852EA9

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

Preview Lab → · Contrast checker → · Palette generator →

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