#852CA2#852CA2

#852CA2 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 47.9% C 0.189 H 316.4°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#852CA2
RGBrgb(133, 44, 162)
HSLhsl(285, 57%, 40%)
HSVhsv(285, 73%, 64%)
CMYKcmyk(17.9%, 72.8%, 0%, 36.5%)
CIE-LABlab(36.74, 54.91, -46.19)
CIE-LCHlch(36.74, 71.76, 319.93°)
OKLaboklab(47.89% 0.1367 -0.13)
OKLCHoklch(47.89% 0.189 316.4)
XYZxyz(17.0941, 9.3972, 35.0888)
Luminance0.0940 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CA2 #49A22C
analogous
#4A2CA2 #852CA2 #A22C84
triadic
#852CA2 #A2852C #2CA285
tetradic
#852CA2 #A24A2C #49A22C #2C84A2
square
#852CA2 #A24A2C #49A22C #2C84A2
split-complementary
#852CA2 #84A22C #2CA24A
monochromatic
#361242 #5D1F72 #852CA2 #A940CB #BF70D8

Accessibility & contrast

On white

7.29
#852CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#852CA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852CA2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CA2#FFFFFF#000000##FFFFFF
##852CA21.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#2C599F
Tritanopia (blue-blind)
#834464
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #852ca2;
/* rgb */ color: rgb(133, 44, 162);
/* oklch */ color: oklch(47.9% 0.189 316.4);
Tailwind
colors: {
  custom: {
    50: '#ac6ebe',
    500: '#852ca2',
    950: '#000000',
  },
}
SCSS
$custom: #852ca2;
$custom-light: #ac6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#852ca2",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 285.254,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.47887,
    "c": 0.1886,
    "h": 316.4
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#852CA2
secondary
#7FBF6A
accent
#E1476D
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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