#852EA0#852EA0

#852EA0 is a mid, vivid purple. Relative luminance 0.095; OKLCH L 48.0% C 0.184 H 317.0°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#852EA0
RGBrgb(133, 46, 160)
HSLhsl(286, 55%, 40%)
HSVhsv(286, 71%, 63%)
CMYKcmyk(16.9%, 71.2%, 0%, 37.3%)
CIE-LABlab(36.89, 53.70, -44.74)
CIE-LCHlch(36.89, 69.90, 320.20°)
OKLaboklab(47.95% 0.1348 -0.1257)
OKLCHoklch(47.95% 0.184 317)
XYZxyz(16.9941, 9.4793, 34.1854)
Luminance0.0948 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EA0 #49A02E
analogous
#4C2EA0 #852EA0 #A02E82
triadic
#852EA0 #A0852E #2EA085
tetradic
#852EA0 #A04C2E #49A02E #2E82A0
square
#852EA0 #A04C2E #49A02E #2E82A0
split-complementary
#852EA0 #82A02E #2EA04C
monochromatic
#361341 #5D2070 #852EA0 #A942C9 #BF72D6

Accessibility & contrast

On white

7.25
#852EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#852EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852EA0
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EA0#FFFFFF#000000##FFFFFF
##852EA01.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#30599D
Tritanopia (blue-blind)
#844564
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852ea0;
/* rgb */ color: rgb(133, 46, 160);
/* oklch */ color: oklch(48.0% 0.184 317.0);
Tailwind
colors: {
  custom: {
    50: '#ac6fbd',
    500: '#852ea0',
    950: '#000000',
  },
}
SCSS
$custom: #852ea0;
$custom-light: #ac6fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#852ea0",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 285.789,
    "s": 55.34,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47954,
    "c": 0.18432,
    "h": 317
  },
  "luminance": 0.09479
}

Semantic roles & 50–950 ramp

primary
#852EA0
secondary
#7FBE6C
accent
#DF496D
background
#FAF7FB
surface
#F5EDF6
border
#CFC8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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