#852DA5#852DA5

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

Color values

HEX#852DA5
RGBrgb(133, 45, 165)
HSLhsl(284, 57%, 41%)
HSVhsv(284, 73%, 65%)
CMYKcmyk(19.4%, 72.7%, 0%, 35.3%)
CIE-LABlab(37.08, 55.13, -47.45)
CIE-LCHlch(37.08, 72.73, 319.28°)
OKLaboklab(48.19% 0.1353 -0.1336)
OKLCHoklch(48.19% 0.19 315.4)
XYZxyz(17.4017, 9.5806, 36.5226)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DA5 #4DA52D
analogous
#492DA5 #852DA5 #A52D89
triadic
#852DA5 #A5852D #2DA585
tetradic
#852DA5 #A5492D #4DA52D #2D89A5
square
#852DA5 #A5492D #4DA52D #2D89A5
split-complementary
#852DA5 #89A52D #2DA549
monochromatic
#371345 #5E2075 #852DA5 #A743CC #BE73D9

Accessibility & contrast

On white

7.20
#852DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #852DA5
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DA5#FFFFFF#000000##FFFFFF
##852DA51.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852da5;
/* rgb */ color: rgb(133, 45, 165);
/* oklch */ color: oklch(48.2% 0.190 315.4);
Tailwind
colors: {
  custom: {
    50: '#ac6ec0',
    500: '#852da5',
    950: '#000000',
  },
}
SCSS
$custom: #852da5;
$custom-light: #ac6ec0;
$custom-dark: #000000;
JSON
{
  "hex": "#852da5",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 284,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48193,
    "c": 0.19021,
    "h": 315.4
  },
  "luminance": 0.0958
}

Semantic roles & 50–950 ramp

primary
#852DA5
secondary
#83C16D
accent
#E04770
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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