#852CB9#852CB9

#852CB9 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.5% C 0.210 H 309.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#852CB9
RGBrgb(133, 44, 185)
HSLhsl(278, 62%, 45%)
HSVhsv(278, 76%, 73%)
CMYKcmyk(28.1%, 76.2%, 0%, 27.5%)
CIE-LABlab(38.36, 59.72, -57.27)
CIE-LCHlch(38.36, 82.75, 316.20°)
OKLaboklab(49.55% 0.1332 -0.1625)
OKLCHoklch(49.55% 0.21 309.3)
XYZxyz(19.3287, 10.2911, 46.8577)
Luminance0.1029 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CB9 #60B92C
analogous
#3E2CB9 #852CB9 #B92CA7
triadic
#852CB9 #B9852C #2CB985
tetradic
#852CB9 #B93E2C #60B92C #2CA7B9
square
#852CB9 #B93E2C #60B92C #2CA7B9
split-complementary
#852CB9 #A7B92C #2CB93E
monochromatic
#3E1456 #612088 #852CB9 #A34DD5 #BD7FE1

Accessibility & contrast

On white

6.87
#852CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#852CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852CB9
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CB9#FFFFFF#000000##FFFFFF
##852CB91.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#7D4E71
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852cb9;
/* rgb */ color: rgb(133, 44, 185);
/* oklch */ color: oklch(49.5% 0.210 309.3);
Tailwind
colors: {
  custom: {
    50: '#ad6fcf',
    500: '#852cb9',
    950: '#000000',
  },
}
SCSS
$custom: #852cb9;
$custom-light: #ad6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#852cb9",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 185
  },
  "hsl": {
    "h": 277.872,
    "s": 61.572,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49548,
    "c": 0.21009,
    "h": 309.3
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

primary
#852CB9
secondary
#96C978
accent
#E5437F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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