#852FA9#852FA9

#852FA9 is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.192 H 313.9°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#852FA9
RGBrgb(133, 47, 169)
HSLhsl(282, 56%, 42%)
HSVhsv(282, 72%, 66%)
CMYKcmyk(21.3%, 72.2%, 0%, 33.7%)
CIE-LABlab(37.63, 55.15, -48.95)
CIE-LCHlch(37.63, 73.74, 318.41°)
OKLaboklab(48.68% 0.1328 -0.1381)
OKLCHoklch(48.68% 0.192 313.9)
XYZxyz(17.8496, 9.8847, 38.4961)
Luminance0.0988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FA9 #53A92F
analogous
#482FA9 #852FA9 #A92F90
triadic
#852FA9 #A9852F #2FA985
tetradic
#852FA9 #A9482F #53A92F #2F90A9
square
#852FA9 #A9482F #53A92F #2F90A9
split-complementary
#852FA9 #90A92F #2FA948
monochromatic
#3A1449 #5F2279 #852FA9 #A649CC #BD79DA

Accessibility & contrast

On white

7.05
#852FA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#852FA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852FA9
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FA9#FFFFFF#000000##FFFFFF
##852FA91.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AC
Deuteranopia (green-blind)
#275BA6
Tritanopia (blue-blind)
#814969
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852fa9;
/* rgb */ color: rgb(133, 47, 169);
/* oklch */ color: oklch(48.7% 0.192 313.9);
Tailwind
colors: {
  custom: {
    50: '#ac70c3',
    500: '#852fa9',
    950: '#000000',
  },
}
SCSS
$custom: #852fa9;
$custom-light: #ac70c3;
$custom-dark: #000000;
JSON
{
  "hex": "#852fa9",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 282.295,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48675,
    "c": 0.1916,
    "h": 313.9
  },
  "luminance": 0.09884
}

Semantic roles & 50–950 ramp

primary
#852FA9
secondary
#8AC272
accent
#E04875
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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