#852AA2#852AA2

#852AA2 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.7% C 0.191 H 316.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#852AA2
RGBrgb(133, 42, 162)
HSLhsl(286, 59%, 40%)
HSVhsv(286, 74%, 64%)
CMYKcmyk(17.9%, 74.1%, 0%, 36.5%)
CIE-LABlab(36.46, 55.69, -46.63)
CIE-LCHlch(36.46, 72.64, 320.06°)
OKLaboklab(47.69% 0.1387 -0.1312)
OKLCHoklch(47.69% 0.191 316.6)
XYZxyz(17.0214, 9.2518, 35.0646)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852AA2 #47A22A
analogous
#492AA2 #852AA2 #A22A83
triadic
#852AA2 #A2852A #2AA285
tetradic
#852AA2 #A2492A #47A22A #2A83A2
square
#852AA2 #A2492A #47A22A #2A83A2
split-complementary
#852AA2 #83A22A #2AA249
monochromatic
#351141 #5D1D71 #852AA2 #AA3DCD #BF6DD9

Accessibility & contrast

On white

7.37
#852AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#852AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852AA2
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852AA2#FFFFFF#000000##FFFFFF
##852AA21.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A5
Deuteranopia (green-blind)
#2B589F
Tritanopia (blue-blind)
#834364
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #852aa2;
/* rgb */ color: rgb(133, 42, 162);
/* oklch */ color: oklch(47.7% 0.191 316.6);
Tailwind
colors: {
  custom: {
    50: '#ac6dbe',
    500: '#852aa2',
    950: '#000000',
  },
}
SCSS
$custom: #852aa2;
$custom-light: #ac6dbe;
$custom-dark: #000000;
JSON
{
  "hex": "#852aa2",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 285.5,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.47693,
    "c": 0.19093,
    "h": 316.6
  },
  "luminance": 0.09251
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #852AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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