#852FA1#852FA1

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

Color values

HEX#852FA1
RGBrgb(133, 47, 161)
HSLhsl(285, 55%, 41%)
HSVhsv(285, 71%, 63%)
CMYKcmyk(17.4%, 70.8%, 0%, 36.9%)
CIE-LABlab(37.10, 53.49, -45.00)
CIE-LCHlch(37.10, 69.90, 319.92°)
OKLaboklab(48.13% 0.1336 -0.1265)
OKLCHoklch(48.13% 0.184 316.6)
XYZxyz(17.1214, 9.5935, 34.6611)
Luminance0.0959 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FA1 #4BA12F
analogous
#4C2FA1 #852FA1 #A12F84
triadic
#852FA1 #A1852F #2FA185
tetradic
#852FA1 #A14C2F #4BA12F #2F84A1
square
#852FA1 #A14C2F #4BA12F #2F84A1
split-complementary
#852FA1 #84A12F #2FA14C
monochromatic
#371342 #5E2172 #852FA1 #A845C9 #BE74D6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##852FA1#FFFFFF#000000##FFFFFF
##852FA11.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)
#0052A4
Deuteranopia (green-blind)
#305A9E
Tritanopia (blue-blind)
#834665
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852fa1;
/* rgb */ color: rgb(133, 47, 161);
/* oklch */ color: oklch(48.1% 0.184 316.6);
Tailwind
colors: {
  custom: {
    50: '#ac6fbd',
    500: '#852fa1',
    950: '#000000',
  },
}
SCSS
$custom: #852fa1;
$custom-light: #ac6fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#852fa1",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 285.263,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.48126,
    "c": 0.18402,
    "h": 316.6
  },
  "luminance": 0.09593
}

Semantic roles & 50–950 ramp

primary
#852FA1
secondary
#81BE6E
accent
#DE4A6E
background
#FAF7FB
surface
#F5EDF7
border
#CFC8D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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