#852CB5#852CB5

#852CB5 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.206 H 310.5°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#852CB5
RGBrgb(133, 44, 181)
HSLhsl(279, 61%, 44%)
HSVhsv(279, 76%, 71%)
CMYKcmyk(26.5%, 75.7%, 0%, 29%)
CIE-LABlab(38.06, 58.87, -55.39)
CIE-LCHlch(38.06, 80.83, 316.74°)
OKLaboklab(49.25% 0.1339 -0.157)
OKLCHoklch(49.25% 0.206 310.5)
XYZxyz(18.9124, 10.1245, 44.6651)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CB5 #5CB52C
analogous
#412CB5 #852CB5 #B52CA1
triadic
#852CB5 #B5852C #2CB585
tetradic
#852CB5 #B5412C #5CB52C #2CA1B5
square
#852CB5 #B5412C #5CB52C #2CA1B5
split-complementary
#852CB5 #A1B52C #2CB541
monochromatic
#3D1453 #612084 #852CB5 #A34BD3 #BD7CDF

Accessibility & contrast

On white

6.94
#852CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#852CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852CB5
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CB5#FFFFFF#000000##FFFFFF
##852CB51.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#085BB2
Tritanopia (blue-blind)
#7E4D6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852cb5;
/* rgb */ color: rgb(133, 44, 181);
/* oklch */ color: oklch(49.2% 0.206 310.5);
Tailwind
colors: {
  custom: {
    50: '#ad6fcc',
    500: '#852cb5',
    950: '#000000',
  },
}
SCSS
$custom: #852cb5;
$custom-light: #ad6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#852cb5",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 181
  },
  "hsl": {
    "h": 278.978,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.49248,
    "c": 0.20634,
    "h": 310.5
  },
  "luminance": 0.10124
}

Semantic roles & 50–950 ramp

primary
#852CB5
secondary
#92C875
accent
#E4447C
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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