#852ACC#852ACC

#852ACC is a mid, highly saturated violet. Relative luminance 0.110; OKLCH L 50.9% C 0.230 H 304.5°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#852ACC
RGBrgb(133, 42, 204)
HSLhsl(274, 66%, 48%)
HSVhsv(274, 79%, 80%)
CMYKcmyk(34.8%, 79.4%, 0%, 20%)
CIE-LABlab(39.58, 64.58, -66.39)
CIE-LCHlch(39.58, 92.62, 314.21°)
OKLaboklab(50.87% 0.1303 -0.1893)
OKLCHoklch(50.87% 0.23 304.5)
XYZxyz(21.3974, 11.0022, 58.1114)
Luminance0.1100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852ACC #71CC2A
analogous
#342ACC #852ACC #CC2AC2
triadic
#852ACC #CC852A #2ACC85
tetradic
#852ACC #CC342A #71CC2A #2AC2CC
square
#852ACC #CC342A #71CC2A #2AC2CC
split-complementary
#852ACC #C2CC2A #2ACC34
monochromatic
#431566 #642099 #852ACC #A257DC #BE8AE7

Accessibility & contrast

On white

6.56
#852ACC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#852ACC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852ACC
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852ACC#FFFFFF#000000##FFFFFF
##852ACC1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BD0
Deuteranopia (green-blind)
#005DC9
Tritanopia (blue-blind)
#77567C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #852acc;
/* rgb */ color: rgb(133, 42, 204);
/* oklch */ color: oklch(50.9% 0.230 304.5);
Tailwind
colors: {
  custom: {
    50: '#af6fdd',
    500: '#852acc',
    950: '#000000',
  },
}
SCSS
$custom: #852acc;
$custom-light: #af6fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#852acc",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 204
  },
  "hsl": {
    "h": 273.704,
    "s": 65.854,
    "l": 48.235
  },
  "oklch": {
    "l": 0.50865,
    "c": 0.22982,
    "h": 304.5
  },
  "luminance": 0.11002
}

Semantic roles & 50–950 ramp

primary
#852ACC
secondary
#A4D181
accent
#E93F89
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83

Preview Lab

Preview with #852ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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