#852CC3#852CC3

#852CC3 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.3% C 0.220 H 306.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#852CC3
RGBrgb(133, 44, 195)
HSLhsl(275, 63%, 47%)
HSVhsv(275, 77%, 76%)
CMYKcmyk(31.8%, 77.4%, 0%, 23.5%)
CIE-LABlab(39.12, 61.89, -61.91)
CIE-LCHlch(39.12, 87.54, 314.99°)
OKLaboklab(50.32% 0.131 -0.1761)
OKLCHoklch(50.32% 0.22 306.6)
XYZxyz(20.4217, 10.7283, 52.6141)
Luminance0.1073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CC3 #6AC32C
analogous
#392CC3 #852CC3 #C32CB6
triadic
#852CC3 #C3852C #2CC385
tetradic
#852CC3 #C3392C #6AC32C #2CB6C3
square
#852CC3 #C3392C #6AC32C #2CB6C3
split-complementary
#852CC3 #B6C32C #2CC339
monochromatic
#41155F #632191 #852CC3 #A254D8 #BD86E4

Accessibility & contrast

On white

6.68
#852CC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#852CC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852CC3
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CC3#FFFFFF#000000##FFFFFF
##852CC31.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C7
Deuteranopia (green-blind)
#005DC0
Tritanopia (blue-blind)
#7A5377
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #852cc3;
/* rgb */ color: rgb(133, 44, 195);
/* oklch */ color: oklch(50.3% 0.220 306.6);
Tailwind
colors: {
  custom: {
    50: '#ae6fd6',
    500: '#852cc3',
    950: '#000000',
  },
}
SCSS
$custom: #852cc3;
$custom-light: #ae6fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#852cc3",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 195
  },
  "hsl": {
    "h": 275.364,
    "s": 63.18,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50319,
    "c": 0.21951,
    "h": 306.6
  },
  "luminance": 0.10728
}

Semantic roles & 50–950 ramp

primary
#852CC3
secondary
#9ECD7E
accent
#E64285
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852CC3

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

Preview Lab → · Contrast checker → · Palette generator →

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