#852FA3#852FA3

#852FA3 is a mid, vivid purple. Relative luminance 0.097; OKLCH L 48.3% C 0.186 H 315.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#852FA3
RGBrgb(133, 47, 163)
HSLhsl(284, 55%, 41%)
HSVhsv(284, 71%, 64%)
CMYKcmyk(18.4%, 71.2%, 0%, 36.1%)
CIE-LABlab(37.23, 53.90, -46.00)
CIE-LCHlch(37.23, 70.86, 319.52°)
OKLaboklab(48.26% 0.1335 -0.1294)
OKLCHoklch(48.26% 0.186 315.9)
XYZxyz(17.2992, 9.6646, 35.5974)
Luminance0.0966 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FA3 #4DA32F
analogous
#4B2FA3 #852FA3 #A32F87
triadic
#852FA3 #A3852F #2FA385
tetradic
#852FA3 #A34B2F #4DA32F #2F87A3
square
#852FA3 #A34B2F #4DA32F #2F87A3
split-complementary
#852FA3 #87A32F #2FA34B
monochromatic
#371444 #5E2173 #852FA3 #A746CA #BE75D7

Accessibility & contrast

On white

7.16
#852FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#852FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852FA3
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FA3#FFFFFF#000000##FFFFFF
##852FA31.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053A6
Deuteranopia (green-blind)
#2E5AA0
Tritanopia (blue-blind)
#834766
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #852fa3;
/* rgb */ color: rgb(133, 47, 163);
/* oklch */ color: oklch(48.3% 0.186 315.9);
Tailwind
colors: {
  custom: {
    50: '#ac6fbf',
    500: '#852fa3',
    950: '#000000',
  },
}
SCSS
$custom: #852fa3;
$custom-light: #ac6fbf;
$custom-dark: #000000;
JSON
{
  "hex": "#852fa3",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 284.483,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.48261,
    "c": 0.18591,
    "h": 315.9
  },
  "luminance": 0.09664
}

Semantic roles & 50–950 ramp

primary
#852FA3
secondary
#83BF6F
accent
#DF4970
background
#FAF7FB
surface
#F5EDF7
border
#CFC8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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