#852CC7#852CC7

#852CC7 is a mid, highly saturated violet. Relative luminance 0.109; OKLCH L 50.6% C 0.223 H 305.6°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#852CC7
RGBrgb(133, 44, 199)
HSLhsl(274, 64%, 48%)
HSVhsv(274, 78%, 78%)
CMYKcmyk(33.2%, 77.9%, 0%, 22%)
CIE-LABlab(39.43, 62.77, -63.74)
CIE-LCHlch(39.43, 89.45, 314.56°)
OKLaboklab(50.64% 0.1301 -0.1815)
OKLCHoklch(50.64% 0.223 305.6)
XYZxyz(20.8800, 10.9116, 55.0279)
Luminance0.1091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CC7 #6EC72C
analogous
#382CC7 #852CC7 #C72CBB
triadic
#852CC7 #C7852C #2CC785
tetradic
#852CC7 #C7382C #6EC72C #2CBBC7
square
#852CC7 #C7382C #6EC72C #2CBBC7
split-complementary
#852CC7 #BBC72C #2CC738
monochromatic
#421663 #642195 #852CC7 #A256DA #BE89E5

Accessibility & contrast

On white

6.60
#852CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#852CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852CC7
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CC7#FFFFFF#000000##FFFFFF
##852CC71.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACB
Deuteranopia (green-blind)
#005DC4
Tritanopia (blue-blind)
#795479
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #852cc7;
/* rgb */ color: rgb(133, 44, 199);
/* oklch */ color: oklch(50.6% 0.223 305.6);
Tailwind
colors: {
  custom: {
    50: '#af6fd9',
    500: '#852cc7',
    950: '#000000',
  },
}
SCSS
$custom: #852cc7;
$custom-light: #af6fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#852cc7",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 199
  },
  "hsl": {
    "h": 274.452,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.50635,
    "c": 0.22329,
    "h": 305.6
  },
  "luminance": 0.10911
}

Semantic roles & 50–950 ramp

primary
#852CC7
secondary
#A2CF80
accent
#E74188
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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