#852CC9#852CC9

#852CC9 is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.8% C 0.225 H 305.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#852CC9
RGBrgb(133, 44, 201)
HSLhsl(274, 64%, 48%)
HSVhsv(274, 78%, 79%)
CMYKcmyk(33.8%, 78.1%, 0%, 21.2%)
CIE-LABlab(39.59, 63.21, -64.64)
CIE-LCHlch(39.59, 90.41, 314.36°)
OKLaboklab(50.79% 0.1296 -0.1842)
OKLCHoklch(50.79% 0.225 305.1)
XYZxyz(21.1138, 11.0051, 56.2589)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CC9 #70C92C
analogous
#372CC9 #852CC9 #C92CBE
triadic
#852CC9 #C9852C #2CC985
tetradic
#852CC9 #C9372C #70C92C #2CBEC9
square
#852CC9 #C9372C #70C92C #2CBEC9
split-complementary
#852CC9 #BEC92C #2CC937
monochromatic
#431665 #642197 #852CC9 #A258DA #BE8AE5

Accessibility & contrast

On white

6.56
#852CC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#852CC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852CC9
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CC9#FFFFFF#000000##FFFFFF
##852CC91.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCD
Deuteranopia (green-blind)
#005DC6
Tritanopia (blue-blind)
#78557A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #852cc9;
/* rgb */ color: rgb(133, 44, 201);
/* oklch */ color: oklch(50.8% 0.225 305.1);
Tailwind
colors: {
  custom: {
    50: '#af70da',
    500: '#852cc9',
    950: '#000000',
  },
}
SCSS
$custom: #852cc9;
$custom-light: #af70da;
$custom-dark: #000000;
JSON
{
  "hex": "#852cc9",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 201
  },
  "hsl": {
    "h": 274.013,
    "s": 64.082,
    "l": 48.039
  },
  "oklch": {
    "l": 0.50794,
    "c": 0.22517,
    "h": 305.1
  },
  "luminance": 0.11005
}

Semantic roles & 50–950 ramp

primary
#852CC9
secondary
#A3CF82
accent
#E74189
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852CC9

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

Preview Lab → · Contrast checker → · Palette generator →

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