#852DC9#852DC9

#852DC9 is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.224 H 305.0°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#852DC9
RGBrgb(133, 45, 201)
HSLhsl(274, 63%, 48%)
HSVhsv(274, 78%, 79%)
CMYKcmyk(33.8%, 77.6%, 0%, 21.2%)
CIE-LABlab(39.72, 62.84, -64.44)
CIE-LCHlch(39.72, 90.01, 314.28°)
OKLaboklab(50.88% 0.1288 -0.1836)
OKLCHoklch(50.88% 0.224 305)
XYZxyz(21.1515, 11.0805, 56.2715)
Luminance0.1108 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DC9 #71C92D
analogous
#372DC9 #852DC9 #C92DBF
triadic
#852DC9 #C9852D #2DC985
tetradic
#852DC9 #C9372D #71C92D #2DBFC9
square
#852DC9 #C9372D #71C92D #2DBFC9
split-complementary
#852DC9 #BFC92D #2DC937
monochromatic
#431765 #642297 #852DC9 #A259DA #BE8BE5

Accessibility & contrast

On white

6.53
#852DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#852DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852DC9
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DC9#FFFFFF#000000##FFFFFF
##852DC91.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852dc9;
/* rgb */ color: rgb(133, 45, 201);
/* oklch */ color: oklch(50.9% 0.224 305.0);
Tailwind
colors: {
  custom: {
    50: '#af70da',
    500: '#852dc9',
    950: '#000000',
  },
}
SCSS
$custom: #852dc9;
$custom-light: #af70da;
$custom-dark: #000000;
JSON
{
  "hex": "#852dc9",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 273.846,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50883,
    "c": 0.22422,
    "h": 305
  },
  "luminance": 0.1108
}

Semantic roles & 50–950 ramp

primary
#852DC9
secondary
#A4CF83
accent
#E64189
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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