#852EB5#852EB5

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

Color values

HEX#852EB5
RGBrgb(133, 46, 181)
HSLhsl(279, 59%, 45%)
HSVhsv(279, 75%, 71%)
CMYKcmyk(26.5%, 74.6%, 0%, 29%)
CIE-LABlab(38.34, 58.09, -54.95)
CIE-LCHlch(38.34, 79.96, 316.59°)
OKLaboklab(49.44% 0.1321 -0.1557)
OKLCHoklch(49.44% 0.204 310.3)
XYZxyz(18.9887, 10.2772, 44.6905)
Luminance0.1028 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EB5 #5EB52E
analogous
#422EB5 #852EB5 #B52EA1
triadic
#852EB5 #B5852E #2EB585
tetradic
#852EB5 #B5422E #5EB52E #2EA1B5
square
#852EB5 #B5422E #5EB52E #2EA1B5
split-complementary
#852EB5 #A1B52E #2EB542
monochromatic
#3D1553 #612284 #852EB5 #A34ED2 #BC7FDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##852EB5#FFFFFF#000000##FFFFFF
##852EB51.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)
#0057B9
Deuteranopia (green-blind)
#0E5CB2
Tritanopia (blue-blind)
#7E4E6F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852eb5;
/* rgb */ color: rgb(133, 46, 181);
/* oklch */ color: oklch(49.4% 0.204 310.3);
Tailwind
colors: {
  custom: {
    50: '#ad70cc',
    500: '#852eb5',
    950: '#000000',
  },
}
SCSS
$custom: #852eb5;
$custom-light: #ad70cc;
$custom-dark: #000000;
JSON
{
  "hex": "#852eb5",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 181
  },
  "hsl": {
    "h": 278.667,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.49438,
    "c": 0.20417,
    "h": 310.3
  },
  "luminance": 0.10277
}

Semantic roles & 50–950 ramp

primary
#852EB5
secondary
#94C778
accent
#E3457D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852EB5

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

Preview Lab → · Contrast checker → · Palette generator →

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