#852CC5#852CC5

#852CC5 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.5% C 0.221 H 306.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#852CC5
RGBrgb(133, 44, 197)
HSLhsl(275, 63%, 47%)
HSVhsv(275, 78%, 77%)
CMYKcmyk(32.5%, 77.7%, 0%, 22.7%)
CIE-LABlab(39.27, 62.33, -62.83)
CIE-LCHlch(39.27, 88.50, 314.77°)
OKLaboklab(50.48% 0.1305 -0.1788)
OKLCHoklch(50.48% 0.221 306.1)
XYZxyz(20.6494, 10.8193, 53.8130)
Luminance0.1082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CC5 #6CC52C
analogous
#392CC5 #852CC5 #C52CB8
triadic
#852CC5 #C5852C #2CC585
tetradic
#852CC5 #C5392C #6CC52C #2CB8C5
square
#852CC5 #C5392C #6CC52C #2CB8C5
split-complementary
#852CC5 #B8C52C #2CC539
monochromatic
#411661 #632193 #852CC5 #A255D9 #BD87E4

Accessibility & contrast

On white

6.64
#852CC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#852CC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852CC5
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CC5#FFFFFF#000000##FFFFFF
##852CC51.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#005DC2
Tritanopia (blue-blind)
#795378
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #852cc5;
/* rgb */ color: rgb(133, 44, 197);
/* oklch */ color: oklch(50.5% 0.221 306.1);
Tailwind
colors: {
  custom: {
    50: '#ae6fd8',
    500: '#852cc5',
    950: '#000000',
  },
}
SCSS
$custom: #852cc5;
$custom-light: #ae6fd8;
$custom-dark: #000000;
JSON
{
  "hex": "#852cc5",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 197
  },
  "hsl": {
    "h": 274.902,
    "s": 63.485,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50476,
    "c": 0.2214,
    "h": 306.1
  },
  "luminance": 0.10819
}

Semantic roles & 50–950 ramp

primary
#852CC5
secondary
#A0CE7F
accent
#E74186
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83

Preview Lab

Preview with #852CC5

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

Preview Lab → · Contrast checker → · Palette generator →

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