#852DCA#852DCA

#852DCA is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 51.0% C 0.225 H 304.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#852DCA
RGBrgb(133, 45, 202)
HSLhsl(274, 64%, 48%)
HSVhsv(274, 78%, 79%)
CMYKcmyk(34.2%, 77.7%, 0%, 20.8%)
CIE-LABlab(39.79, 63.06, -64.89)
CIE-LCHlch(39.79, 90.49, 314.18°)
OKLaboklab(50.96% 0.1285 -0.1849)
OKLCHoklch(50.96% 0.225 304.8)
XYZxyz(21.2695, 11.1277, 56.8930)
Luminance0.1113 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DCA #72CA2D
analogous
#372DCA #852DCA #CA2DC0
triadic
#852DCA #CA852D #2DCA85
tetradic
#852DCA #CA372D #72CA2D #2DC0CA
square
#852DCA #CA372D #72CA2D #2DC0CA
split-complementary
#852DCA #C0CA2D #2DCA37
monochromatic
#431766 #642298 #852DCA #A25ADA #BE8CE5

Accessibility & contrast

On white

6.51
#852DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#852DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852DCA
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DCA#FFFFFF#000000##FFFFFF
##852DCA1.006.513.236.51
#FFFFFF6.511.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#005EC7
Tritanopia (blue-blind)
#78567B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #852dca;
/* rgb */ color: rgb(133, 45, 202);
/* oklch */ color: oklch(51.0% 0.225 304.8);
Tailwind
colors: {
  custom: {
    50: '#af70db',
    500: '#852dca',
    950: '#000000',
  },
}
SCSS
$custom: #852dca;
$custom-light: #af70db;
$custom-dark: #000000;
JSON
{
  "hex": "#852dca",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 273.631,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.50963,
    "c": 0.22516,
    "h": 304.8
  },
  "luminance": 0.11128
}

Semantic roles & 50–950 ramp

primary
#852DCA
secondary
#A5CF83
accent
#E7418A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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