#852CB8#852CB8

#852CB8 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.5% C 0.209 H 309.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#852CB8
RGBrgb(133, 44, 184)
HSLhsl(278, 61%, 45%)
HSVhsv(278, 76%, 72%)
CMYKcmyk(27.7%, 76.1%, 0%, 27.8%)
CIE-LABlab(38.29, 59.51, -56.80)
CIE-LCHlch(38.29, 82.27, 316.33°)
OKLaboklab(49.47% 0.1334 -0.1611)
OKLCHoklch(49.47% 0.209 309.6)
XYZxyz(19.2235, 10.2490, 46.3037)
Luminance0.1025 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CB8 #5FB82C
analogous
#3F2CB8 #852CB8 #B82CA5
triadic
#852CB8 #B8852C #2CB885
tetradic
#852CB8 #B83F2C #5FB82C #2CA5B8
square
#852CB8 #B83F2C #5FB82C #2CA5B8
split-complementary
#852CB8 #A5B82C #2CB83F
monochromatic
#3E1455 #612087 #852CB8 #A34DD4 #BD7EE0

Accessibility & contrast

On white

6.89
#852CB8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#852CB8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852CB8
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CB8#FFFFFF#000000##FFFFFF
##852CB81.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #852cb8;
/* rgb */ color: rgb(133, 44, 184);
/* oklch */ color: oklch(49.5% 0.209 309.6);
Tailwind
colors: {
  custom: {
    50: '#ad6fce',
    500: '#852cb8',
    950: '#000000',
  },
}
SCSS
$custom: #852cb8;
$custom-light: #ad6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#852cb8",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 278.143,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.49472,
    "c": 0.20915,
    "h": 309.6
  },
  "luminance": 0.10249
}

Semantic roles & 50–950 ramp

primary
#852CB8
secondary
#95C977
accent
#E5437E
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #852CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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