#852EA4#852EA4

#852EA4 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.2% C 0.188 H 315.6°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#852EA4
RGBrgb(133, 46, 164)
HSLhsl(284, 56%, 41%)
HSVhsv(284, 72%, 64%)
CMYKcmyk(18.9%, 72%, 0%, 35.7%)
CIE-LABlab(37.15, 54.52, -46.73)
CIE-LCHlch(37.15, 71.80, 319.40°)
OKLaboklab(48.23% 0.1344 -0.1315)
OKLCHoklch(48.23% 0.188 315.6)
XYZxyz(17.3496, 9.6215, 36.0580)
Luminance0.0962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EA4 #4DA42E
analogous
#4A2EA4 #852EA4 #A42E88
triadic
#852EA4 #A4852E #2EA485
tetradic
#852EA4 #A44A2E #4DA42E #2E88A4
square
#852EA4 #A44A2E #4DA42E #2E88A4
split-complementary
#852EA4 #88A42E #2EA44A
monochromatic
#371344 #5E2174 #852EA4 #A745CB #BE74D8

Accessibility & contrast

On white

7.18
#852EA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#852EA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852EA4
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EA4#FFFFFF#000000##FFFFFF
##852EA41.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A7
Deuteranopia (green-blind)
#2C5AA1
Tritanopia (blue-blind)
#834666
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852ea4;
/* rgb */ color: rgb(133, 46, 164);
/* oklch */ color: oklch(48.2% 0.188 315.6);
Tailwind
colors: {
  custom: {
    50: '#ac6fc0',
    500: '#852ea4',
    950: '#000000',
  },
}
SCSS
$custom: #852ea4;
$custom-light: #ac6fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#852ea4",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 284.237,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48226,
    "c": 0.18807,
    "h": 315.6
  },
  "luminance": 0.09621
}

Semantic roles & 50–950 ramp

primary
#852EA4
secondary
#83C06E
accent
#DF4870
background
#FBF7FB
surface
#F6EDF7
border
#D0C8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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