#852DB5#852DB5

#852DB5 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.205 H 310.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#852DB5
RGBrgb(133, 45, 181)
HSLhsl(279, 60%, 44%)
HSVhsv(279, 75%, 71%)
CMYKcmyk(26.5%, 75.1%, 0%, 29%)
CIE-LABlab(38.20, 58.48, -55.17)
CIE-LCHlch(38.20, 80.40, 316.67°)
OKLaboklab(49.34% 0.133 -0.1563)
OKLCHoklch(49.34% 0.205 310.4)
XYZxyz(18.9501, 10.1999, 44.6776)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DB5 #5DB52D
analogous
#412DB5 #852DB5 #B52DA1
triadic
#852DB5 #B5852D #2DB585
tetradic
#852DB5 #B5412D #5DB52D #2DA1B5
square
#852DB5 #B5412D #5DB52D #2DA1B5
split-complementary
#852DB5 #A1B52D #2DB541
monochromatic
#3D1553 #612184 #852DB5 #A34DD3 #BD7EDF

Accessibility & contrast

On white

6.91
#852DB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#852DB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852DB5
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DB5#FFFFFF#000000##FFFFFF
##852DB51.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852db5;
/* rgb */ color: rgb(133, 45, 181);
/* oklch */ color: oklch(49.3% 0.205 310.4);
Tailwind
colors: {
  custom: {
    50: '#ad6fcc',
    500: '#852db5',
    950: '#000000',
  },
}
SCSS
$custom: #852db5;
$custom-light: #ad6fcc;
$custom-dark: #000000;
JSON
{
  "hex": "#852db5",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 181
  },
  "hsl": {
    "h": 278.824,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49342,
    "c": 0.20526,
    "h": 310.4
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#852DB5
secondary
#93C776
accent
#E3447D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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