#852AB6#852AB6

#852AB6 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.209 H 310.3°. Best body text is #FFFFFF at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#852AB6
RGBrgb(133, 42, 182)
HSLhsl(279, 63%, 44%)
HSVhsv(279, 77%, 71%)
CMYKcmyk(26.9%, 76.9%, 0%, 28.6%)
CIE-LABlab(37.88, 59.82, -56.28)
CIE-LCHlch(37.88, 82.14, 316.75°)
OKLaboklab(49.14% 0.1355 -0.1596)
OKLCHoklch(49.14% 0.209 310.3)
XYZxyz(18.9427, 10.0203, 45.1831)
Luminance0.1002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852AB6 #5BB62A
analogous
#3F2AB6 #852AB6 #B62AA1
triadic
#852AB6 #B6852A #2AB685
tetradic
#852AB6 #B63F2A #5BB62A #2AA1B6
square
#852AB6 #B63F2A #5BB62A #2AA1B6
split-complementary
#852AB6 #A1B62A #2AB63F
monochromatic
#3C1353 #611F84 #852AB6 #A448D5 #BD7AE0

Accessibility & contrast

On white

6.99
#852AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.00
#852AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852AB6
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852AB6#FFFFFF#000000##FFFFFF
##852AB61.006.993.006.99
#FFFFFF6.991.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF6.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BA
Deuteranopia (green-blind)
#005BB3
Tritanopia (blue-blind)
#7E4C6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852ab6;
/* rgb */ color: rgb(133, 42, 182);
/* oklch */ color: oklch(49.1% 0.209 310.3);
Tailwind
colors: {
  custom: {
    50: '#ad6ecd',
    500: '#852ab6',
    950: '#000000',
  },
}
SCSS
$custom: #852ab6;
$custom-light: #ad6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#852ab6",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 279,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4914,
    "c": 0.20935,
    "h": 310.3
  },
  "luminance": 0.1002
}

Semantic roles & 50–950 ramp

primary
#852AB6
secondary
#91C873
accent
#E6427B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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