#852CB6#852CB6

#852CB6 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.207 H 310.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#852CB6
RGBrgb(133, 44, 182)
HSLhsl(279, 61%, 44%)
HSVhsv(279, 76%, 71%)
CMYKcmyk(26.9%, 75.8%, 0%, 28.6%)
CIE-LABlab(38.14, 59.08, -55.86)
CIE-LCHlch(38.14, 81.31, 316.60°)
OKLaboklab(49.32% 0.1337 -0.1583)
OKLCHoklch(49.32% 0.207 310.2)
XYZxyz(19.0154, 10.1657, 45.2074)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CB6 #5DB62C
analogous
#402CB6 #852CB6 #B62CA2
triadic
#852CB6 #B6852C #2CB685
tetradic
#852CB6 #B6402C #5DB62C #2CA2B6
square
#852CB6 #B6402C #5DB62C #2CA2B6
split-complementary
#852CB6 #A2B62C #2CB640
monochromatic
#3D1453 #612085 #852CB6 #A34CD4 #BD7DE0

Accessibility & contrast

On white

6.92
#852CB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#852CB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852CB6
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CB6#FFFFFF#000000##FFFFFF
##852CB61.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BA
Deuteranopia (green-blind)
#045BB3
Tritanopia (blue-blind)
#7E4D70
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #852cb6;
/* rgb */ color: rgb(133, 44, 182);
/* oklch */ color: oklch(49.3% 0.207 310.2);
Tailwind
colors: {
  custom: {
    50: '#ad6fcd',
    500: '#852cb6',
    950: '#000000',
  },
}
SCSS
$custom: #852cb6;
$custom-light: #ad6fcd;
$custom-dark: #000000;
JSON
{
  "hex": "#852cb6",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 182
  },
  "hsl": {
    "h": 278.696,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49322,
    "c": 0.20727,
    "h": 310.2
  },
  "luminance": 0.10165
}

Semantic roles & 50–950 ramp

primary
#852CB6
secondary
#93C876
accent
#E4447D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852CB6

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

Preview Lab → · Contrast checker → · Palette generator →

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