#852AA4#852AA4

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

Color values

HEX#852AA4
RGBrgb(133, 42, 164)
HSLhsl(285, 59%, 40%)
HSVhsv(285, 74%, 64%)
CMYKcmyk(18.9%, 74.4%, 0%, 35.7%)
CIE-LABlab(36.60, 56.09, -47.62)
CIE-LCHlch(36.60, 73.58, 319.67°)
OKLaboklab(47.83% 0.1384 -0.1341)
OKLCHoklch(47.83% 0.193 315.9)
XYZxyz(17.2006, 9.3235, 36.0083)
Luminance0.0932 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852AA4 #49A42A
analogous
#482AA4 #852AA4 #A42A86
triadic
#852AA4 #A4852A #2AA485
tetradic
#852AA4 #A4482A #49A42A #2A86A4
square
#852AA4 #A4482A #49A42A #2A86A4
split-complementary
#852AA4 #86A42A #2AA448
monochromatic
#361143 #5D1E73 #852AA4 #A93ECD #BF6EDA

Accessibility & contrast

On white

7.33
#852AA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #852AA4
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852AA4#FFFFFF#000000##FFFFFF
##852AA41.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A7
Deuteranopia (green-blind)
#2859A1
Tritanopia (blue-blind)
#834465
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #852aa4;
/* rgb */ color: rgb(133, 42, 164);
/* oklch */ color: oklch(47.8% 0.193 315.9);
Tailwind
colors: {
  custom: {
    50: '#ac6dc0',
    500: '#852aa4',
    950: '#000000',
  },
}
SCSS
$custom: #852aa4;
$custom-light: #ac6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#852aa4",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 164
  },
  "hsl": {
    "h": 284.754,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47831,
    "c": 0.19275,
    "h": 315.9
  },
  "luminance": 0.09323
}

Semantic roles & 50–950 ramp

primary
#852AA4
secondary
#7FC169
accent
#E2456D
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852AA4

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

Preview Lab → · Contrast checker → · Palette generator →

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