#852BB5#852BB5

#852BB5 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.207 H 310.5°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#852BB5
RGBrgb(133, 43, 181)
HSLhsl(279, 62%, 44%)
HSVhsv(279, 76%, 71%)
CMYKcmyk(26.5%, 76.2%, 0%, 29%)
CIE-LABlab(37.93, 59.24, -55.60)
CIE-LCHlch(37.93, 81.25, 316.82°)
OKLaboklab(49.16% 0.1348 -0.1576)
OKLCHoklch(49.16% 0.207 310.5)
XYZxyz(18.8756, 10.0509, 44.6528)
Luminance0.1005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BB5 #5BB52B
analogous
#402BB5 #852BB5 #B52BA0
triadic
#852BB5 #B5852B #2BB585
tetradic
#852BB5 #B5402B #5BB52B #2BA0B5
square
#852BB5 #B5402B #5BB52B #2BA0B5
split-complementary
#852BB5 #A0B52B #2BB540
monochromatic
#3C1452 #611F84 #852BB5 #A449D4 #BD7BE0

Accessibility & contrast

On white

6.98
#852BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#852BB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852BB5
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BB5#FFFFFF#000000##FFFFFF
##852BB51.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B9
Deuteranopia (green-blind)
#055BB2
Tritanopia (blue-blind)
#7E4C6F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852bb5;
/* rgb */ color: rgb(133, 43, 181);
/* oklch */ color: oklch(49.2% 0.207 310.5);
Tailwind
colors: {
  custom: {
    50: '#ad6ecc',
    500: '#852bb5',
    950: '#000000',
  },
}
SCSS
$custom: #852bb5;
$custom-light: #ad6ecc;
$custom-dark: #000000;
JSON
{
  "hex": "#852bb5",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 279.13,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49155,
    "c": 0.20738,
    "h": 310.5
  },
  "luminance": 0.1005
}

Semantic roles & 50–950 ramp

primary
#852BB5
secondary
#91C874
accent
#E5437B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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