#852DB9#852DB9

#852DB9 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.6% C 0.209 H 309.3°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#852DB9
RGBrgb(133, 45, 185)
HSLhsl(278, 61%, 45%)
HSVhsv(278, 76%, 73%)
CMYKcmyk(28.1%, 75.7%, 0%, 27.5%)
CIE-LABlab(38.49, 59.34, -57.06)
CIE-LCHlch(38.49, 82.32, 316.12°)
OKLaboklab(49.64% 0.1323 -0.1619)
OKLCHoklch(49.64% 0.209 309.3)
XYZxyz(19.3664, 10.3665, 46.8702)
Luminance0.1037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DB9 #61B92D
analogous
#3F2DB9 #852DB9 #B92DA7
triadic
#852DB9 #B9852D #2DB985
tetradic
#852DB9 #B93F2D #61B92D #2DA7B9
square
#852DB9 #B93F2D #61B92D #2DA7B9
split-complementary
#852DB9 #A7B92D #2DB93F
monochromatic
#3E1557 #622188 #852DB9 #A34FD4 #BD80E0

Accessibility & contrast

On white

6.83
#852DB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#852DB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852DB9
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DB9#FFFFFF#000000##FFFFFF
##852DB91.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BD
Deuteranopia (green-blind)
#005CB6
Tritanopia (blue-blind)
#7D4F71
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #852db9;
/* rgb */ color: rgb(133, 45, 185);
/* oklch */ color: oklch(49.6% 0.209 309.3);
Tailwind
colors: {
  custom: {
    50: '#ad6fcf',
    500: '#852db9',
    950: '#000000',
  },
}
SCSS
$custom: #852db9;
$custom-light: #ad6fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#852db9",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 277.714,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49641,
    "c": 0.20905,
    "h": 309.3
  },
  "luminance": 0.10366
}

Semantic roles & 50–950 ramp

primary
#852DB9
secondary
#97C979
accent
#E4447F
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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