#852CA3#852CA3

#852CA3 is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.190 H 316.1°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#852CA3
RGBrgb(133, 44, 163)
HSLhsl(285, 57%, 41%)
HSVhsv(285, 73%, 64%)
CMYKcmyk(18.4%, 73%, 0%, 36.1%)
CIE-LABlab(36.80, 55.12, -46.69)
CIE-LCHlch(36.80, 72.23, 319.73°)
OKLaboklab(47.96% 0.1366 -0.1314)
OKLCHoklch(47.96% 0.19 316.1)
XYZxyz(17.1834, 9.4329, 35.5588)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CA3 #4AA32C
analogous
#492CA3 #852CA3 #A32C85
triadic
#852CA3 #A3852C #2CA385
tetradic
#852CA3 #A3492C #4AA32C #2C85A3
square
#852CA3 #A3492C #4AA32C #2C85A3
split-complementary
#852CA3 #85A32C #2CA349
monochromatic
#361243 #5E1F73 #852CA3 #A941CC #BE71D9

Accessibility & contrast

On white

7.28
#852CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#852CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852CA3
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CA3#FFFFFF#000000##FFFFFF
##852CA31.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A6
Deuteranopia (green-blind)
#2B59A0
Tritanopia (blue-blind)
#834565
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852ca3;
/* rgb */ color: rgb(133, 44, 163);
/* oklch */ color: oklch(48.0% 0.190 316.1);
Tailwind
colors: {
  custom: {
    50: '#ac6ebf',
    500: '#852ca3',
    950: '#000000',
  },
}
SCSS
$custom: #852ca3;
$custom-light: #ac6ebf;
$custom-dark: #000000;
JSON
{
  "hex": "#852ca3",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 163
  },
  "hsl": {
    "h": 284.874,
    "s": 57.488,
    "l": 40.588
  },
  "oklch": {
    "l": 0.47956,
    "c": 0.18953,
    "h": 316.1
  },
  "luminance": 0.09432
}

Semantic roles & 50–950 ramp

primary
#852CA3
secondary
#80C06B
accent
#E1476E
background
#FBF6FB
surface
#F6ECF7
border
#D0C7D0
text
#110812
muted
#807B81

Preview Lab

Preview with #852CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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