#852CB4#852CB4

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

Color values

HEX#852CB4
RGBrgb(133, 44, 180)
HSLhsl(279, 61%, 44%)
HSVhsv(279, 76%, 71%)
CMYKcmyk(26.1%, 75.6%, 0%, 29.4%)
CIE-LABlab(37.99, 58.65, -54.92)
CIE-LCHlch(37.99, 80.35, 316.88°)
OKLaboklab(49.17% 0.1341 -0.1556)
OKLCHoklch(49.17% 0.205 310.8)
XYZxyz(18.8102, 10.0836, 44.1266)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852CB4 #5BB42C
analogous
#412CB4 #852CB4 #B42C9F
triadic
#852CB4 #B4852C #2CB485
tetradic
#852CB4 #B4412C #5BB42C #2C9FB4
square
#852CB4 #B4412C #5BB42C #2C9FB4
split-complementary
#852CB4 #9FB42C #2CB441
monochromatic
#3C1452 #612083 #852CB4 #A44AD3 #BD7CDF

Accessibility & contrast

On white

6.96
#852CB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#852CB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852CB4
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852CB4#FFFFFF#000000##FFFFFF
##852CB41.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B8
Deuteranopia (green-blind)
#0C5BB1
Tritanopia (blue-blind)
#7F4C6E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852cb4;
/* rgb */ color: rgb(133, 44, 180);
/* oklch */ color: oklch(49.2% 0.205 310.8);
Tailwind
colors: {
  custom: {
    50: '#ad6fcb',
    500: '#852cb4',
    950: '#000000',
  },
}
SCSS
$custom: #852cb4;
$custom-light: #ad6fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#852cb4",
  "rgb": {
    "r": 133,
    "g": 44,
    "b": 180
  },
  "hsl": {
    "h": 279.265,
    "s": 60.714,
    "l": 43.922
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.2054,
    "h": 310.8
  },
  "luminance": 0.10083
}

Semantic roles & 50–950 ramp

primary
#852CB4
secondary
#91C775
accent
#E4447B
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #852CB4

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

Preview Lab → · Contrast checker → · Palette generator →

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