#852DB7#852DB7

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

Color values

HEX#852DB7
RGBrgb(133, 45, 183)
HSLhsl(278, 61%, 45%)
HSVhsv(278, 75%, 72%)
CMYKcmyk(27.3%, 75.4%, 0%, 28.2%)
CIE-LABlab(38.34, 58.91, -56.12)
CIE-LCHlch(38.34, 81.36, 316.39°)
OKLaboklab(49.49% 0.1327 -0.1591)
OKLCHoklch(49.49% 0.207 309.8)
XYZxyz(19.1568, 10.2826, 45.7661)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DB7 #5FB72D
analogous
#402DB7 #852DB7 #B72DA4
triadic
#852DB7 #B7852D #2DB785
tetradic
#852DB7 #B7402D #5FB72D #2DA4B7
square
#852DB7 #B7402D #5FB72D #2DA4B7
split-complementary
#852DB7 #A4B72D #2DB740
monochromatic
#3E1555 #612186 #852DB7 #A34ED3 #BD7FDF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##852DB7#FFFFFF#000000##FFFFFF
##852DB71.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)
#0057BB
Deuteranopia (green-blind)
#035BB4
Tritanopia (blue-blind)
#7E4E70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852db7;
/* rgb */ color: rgb(133, 45, 183);
/* oklch */ color: oklch(49.5% 0.207 309.8);
Tailwind
colors: {
  custom: {
    50: '#ad6fcd',
    500: '#852db7',
    950: '#000000',
  },
}
SCSS
$custom: #852db7;
$custom-light: #ad6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#852db7",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 183
  },
  "hsl": {
    "h": 278.261,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49491,
    "c": 0.20715,
    "h": 309.8
  },
  "luminance": 0.10282
}

Semantic roles & 50–950 ramp

primary
#852DB7
secondary
#95C878
accent
#E4447E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852DB7

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

Preview Lab → · Contrast checker → · Palette generator →

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