#852AA3#852AA3

#852AA3 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.8% C 0.192 H 316.2°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#852AA3
RGBrgb(133, 42, 163)
HSLhsl(285, 59%, 40%)
HSVhsv(285, 74%, 64%)
CMYKcmyk(18.4%, 74.2%, 0%, 36.1%)
CIE-LABlab(36.53, 55.89, -47.13)
CIE-LCHlch(36.53, 73.11, 319.86°)
OKLaboklab(47.76% 0.1386 -0.1327)
OKLCHoklch(47.76% 0.192 316.2)
XYZxyz(17.1107, 9.2875, 35.5346)
Luminance0.0929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852AA3 #48A32A
analogous
#492AA3 #852AA3 #A32A84
triadic
#852AA3 #A3852A #2AA385
tetradic
#852AA3 #A3492A #48A32A #2A84A3
square
#852AA3 #A3492A #48A32A #2A84A3
split-complementary
#852AA3 #84A32A #2AA349
monochromatic
#361142 #5D1D72 #852AA3 #A93DCD #BF6EDA

Accessibility & contrast

On white

7.35
#852AA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#852AA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852AA3
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852AA3#FFFFFF#000000##FFFFFF
##852AA31.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#2958A0
Tritanopia (blue-blind)
#834464
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #852aa3;
/* rgb */ color: rgb(133, 42, 163);
/* oklch */ color: oklch(47.8% 0.192 316.2);
Tailwind
colors: {
  custom: {
    50: '#ac6dbf',
    500: '#852aa3',
    950: '#000000',
  },
}
SCSS
$custom: #852aa3;
$custom-light: #ac6dbf;
$custom-dark: #000000;
JSON
{
  "hex": "#852aa3",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 163
  },
  "hsl": {
    "h": 285.124,
    "s": 59.024,
    "l": 40.196
  },
  "oklch": {
    "l": 0.47762,
    "c": 0.19184,
    "h": 316.2
  },
  "luminance": 0.09287
}

Semantic roles & 50–950 ramp

primary
#852AA3
secondary
#7EC068
accent
#E2466C
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852AA3

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

Preview Lab → · Contrast checker → · Palette generator →

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