#852CC1#852CC1

#852CC1 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.2% C 0.218 H 307.2°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#852CC1
RGBrgb(133, 44, 193)
HSLhsl(276, 63%, 46%)
HSVhsv(276, 77%, 76%)
CMYKcmyk(31.1%, 77.2%, 0%, 24.3%)
CIE-LABlab(38.96, 61.45, -60.99)
CIE-LCHlch(38.96, 86.58, 315.22°)
OKLaboklab(50.16% 0.1315 -0.1734)
OKLCHoklch(50.16% 0.218 307.2)
XYZxyz(20.1971, 10.6384, 51.4312)
Luminance0.1064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CC1 #68C12C
analogous
#3B2CC1 #852CC1 #C12CB3
triadic
#852CC1 #C1852C #2CC185
tetradic
#852CC1 #C13B2C #68C12C #2CB3C1
square
#852CC1 #C13B2C #68C12C #2CB3C1
split-complementary
#852CC1 #B3C12C #2CC13B
monochromatic
#40155D #63218F #852CC1 #A253D8 #BD84E3

Accessibility & contrast

On white

6.71
#852CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#852CC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852CC1
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CC1#FFFFFF#000000##FFFFFF
##852CC11.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#7B5276
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #852cc1;
/* rgb */ color: rgb(133, 44, 193);
/* oklch */ color: oklch(50.2% 0.218 307.2);
Tailwind
colors: {
  custom: {
    50: '#ae6fd5',
    500: '#852cc1',
    950: '#000000',
  },
}
SCSS
$custom: #852cc1;
$custom-light: #ae6fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#852cc1",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 193
  },
  "hsl": {
    "h": 275.839,
    "s": 62.869,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50163,
    "c": 0.21762,
    "h": 307.2
  },
  "luminance": 0.10638
}

Semantic roles & 50–950 ramp

primary
#852CC1
secondary
#9DCC7D
accent
#E64284
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #852CC1

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

Preview Lab → · Contrast checker → · Palette generator →

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