#852DB8#852DB8

#852DB8 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.208 H 309.5°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#852DB8
RGBrgb(133, 45, 184)
HSLhsl(278, 61%, 45%)
HSVhsv(278, 76%, 72%)
CMYKcmyk(27.7%, 75.5%, 0%, 27.8%)
CIE-LABlab(38.42, 59.12, -56.59)
CIE-LCHlch(38.42, 81.84, 316.26°)
OKLaboklab(49.57% 0.1325 -0.1605)
OKLCHoklch(49.57% 0.208 309.5)
XYZxyz(19.2612, 10.3244, 46.3162)
Luminance0.1032 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DB8 #60B82D
analogous
#402DB8 #852DB8 #B82DA5
triadic
#852DB8 #B8852D #2DB885
tetradic
#852DB8 #B8402D #60B82D #2DA5B8
square
#852DB8 #B8402D #60B82D #2DA5B8
split-complementary
#852DB8 #A5B82D #2DB840
monochromatic
#3E1556 #612187 #852DB8 #A34ED4 #BD80E0

Accessibility & contrast

On white

6.85
#852DB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #852DB8
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DB8#FFFFFF#000000##FFFFFF
##852DB81.006.853.066.85
#FFFFFF6.851.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852db8;
/* rgb */ color: rgb(133, 45, 184);
/* oklch */ color: oklch(49.6% 0.208 309.5);
Tailwind
colors: {
  custom: {
    50: '#ad6fce',
    500: '#852db8',
    950: '#000000',
  },
}
SCSS
$custom: #852db8;
$custom-light: #ad6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#852db8",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 277.986,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.49566,
    "c": 0.2081,
    "h": 309.5
  },
  "luminance": 0.10324
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #852DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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