#852DC2#852DC2

#852DC2 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.3% C 0.218 H 306.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#852DC2
RGBrgb(133, 45, 194)
HSLhsl(275, 62%, 47%)
HSVhsv(275, 77%, 76%)
CMYKcmyk(31.4%, 76.8%, 0%, 23.9%)
CIE-LABlab(39.17, 61.30, -61.24)
CIE-LCHlch(39.17, 86.65, 315.03°)
OKLaboklab(50.33% 0.1304 -0.1742)
OKLCHoklch(50.33% 0.218 306.8)
XYZxyz(20.3467, 10.7586, 52.0332)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DC2 #6AC22D
analogous
#3A2DC2 #852DC2 #C22DB5
triadic
#852DC2 #C2852D #2DC285
tetradic
#852DC2 #C23A2D #6AC22D #2DB5C2
square
#852DC2 #C23A2D #6AC22D #2DB5C2
split-complementary
#852DC2 #B5C22D #2DC23A
monochromatic
#41165F #632190 #852DC2 #A255D7 #BD86E3

Accessibility & contrast

On white

6.66
#852DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #852DC2
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DC2#FFFFFF#000000##FFFFFF
##852DC21.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852dc2;
/* rgb */ color: rgb(133, 45, 194);
/* oklch */ color: oklch(50.3% 0.218 306.8);
Tailwind
colors: {
  custom: {
    50: '#ae70d5',
    500: '#852dc2',
    950: '#000000',
  },
}
SCSS
$custom: #852dc2;
$custom-light: #ae70d5;
$custom-dark: #000000;
JSON
{
  "hex": "#852dc2",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 275.436,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.50331,
    "c": 0.21758,
    "h": 306.8
  },
  "luminance": 0.10758
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #852DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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