#852FAC#852FAC

#852FAC is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.194 H 312.9°. Best body text is #FFFFFF at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#852FAC
RGBrgb(133, 47, 172)
HSLhsl(281, 57%, 43%)
HSVhsv(281, 73%, 67%)
CMYKcmyk(22.7%, 72.7%, 0%, 32.5%)
CIE-LABlab(37.84, 55.78, -50.41)
CIE-LCHlch(37.84, 75.18, 317.89°)
OKLaboklab(48.89% 0.1325 -0.1423)
OKLCHoklch(48.89% 0.194 312.9)
XYZxyz(18.1345, 9.9987, 39.9964)
Luminance0.1000 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FAC #56AC2F
analogous
#462FAC #852FAC #AC2F94
triadic
#852FAC #AC852F #2FAC85
tetradic
#852FAC #AC462F #56AC2F #2F94AC
square
#852FAC #AC462F #56AC2F #2F94AC
split-complementary
#852FAC #94AC2F #2FAC46
monochromatic
#3B154C #60227C #852FAC #A54BCE #BD7BDB

Accessibility & contrast

On white

7.00
#852FAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#852FAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #852FAC
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FAC#FFFFFF#000000##FFFFFF
##852FAC1.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B0
Deuteranopia (green-blind)
#235BA9
Tritanopia (blue-blind)
#814A6B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852fac;
/* rgb */ color: rgb(133, 47, 172);
/* oklch */ color: oklch(48.9% 0.194 312.9);
Tailwind
colors: {
  custom: {
    50: '#ad70c5',
    500: '#852fac',
    950: '#000000',
  },
}
SCSS
$custom: #852fac;
$custom-light: #ad70c5;
$custom-dark: #000000;
JSON
{
  "hex": "#852fac",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 172
  },
  "hsl": {
    "h": 281.28,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.48886,
    "c": 0.19445,
    "h": 312.9
  },
  "luminance": 0.09998
}

Semantic roles & 50–950 ramp

primary
#852FAC
secondary
#8CC374
accent
#E04777
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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