#852DA0#852DA0

#852DA0 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.186 H 317.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#852DA0
RGBrgb(133, 45, 160)
HSLhsl(286, 56%, 40%)
HSVhsv(286, 72%, 63%)
CMYKcmyk(16.9%, 71.9%, 0%, 37.3%)
CIE-LABlab(36.75, 54.11, -44.97)
CIE-LCHlch(36.75, 70.36, 320.27°)
OKLaboklab(47.85% 0.1358 -0.1264)
OKLCHoklch(47.85% 0.186 317.1)
XYZxyz(16.9555, 9.4021, 34.1725)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DA0 #48A02D
analogous
#4B2DA0 #852DA0 #A02D82
triadic
#852DA0 #A0852D #2DA085
tetradic
#852DA0 #A04B2D #48A02D #2D82A0
square
#852DA0 #A04B2D #48A02D #2D82A0
split-complementary
#852DA0 #82A02D #2DA04B
monochromatic
#361240 #5D2070 #852DA0 #A941C9 #BF70D7

Accessibility & contrast

On white

7.29
#852DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#852DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852DA0
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DA0#FFFFFF#000000##FFFFFF
##852DA01.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#2F599D
Tritanopia (blue-blind)
#844463
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #852da0;
/* rgb */ color: rgb(133, 45, 160);
/* oklch */ color: oklch(47.9% 0.186 317.1);
Tailwind
colors: {
  custom: {
    50: '#ac6ebd',
    500: '#852da0',
    950: '#000000',
  },
}
SCSS
$custom: #852da0;
$custom-light: #ac6ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#852da0",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 160
  },
  "hsl": {
    "h": 285.913,
    "s": 56.098,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47851,
    "c": 0.18554,
    "h": 317.1
  },
  "luminance": 0.09401
}

Semantic roles & 50–950 ramp

primary
#852DA0
secondary
#7EBE6B
accent
#DF486C
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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