#852AAF#852AAF

#852AAF is a mid, highly saturated purple. Relative luminance 0.097; OKLCH L 48.6% C 0.203 H 312.4°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#852AAF
RGBrgb(133, 42, 175)
HSLhsl(281, 61%, 43%)
HSVhsv(281, 76%, 69%)
CMYKcmyk(24%, 76%, 0%, 31.4%)
CIE-LABlab(37.37, 58.35, -52.96)
CIE-LCHlch(37.37, 78.80, 317.78°)
OKLaboklab(48.62% 0.1368 -0.1498)
OKLCHoklch(48.62% 0.203 312.4)
XYZxyz(18.2373, 9.7381, 41.4681)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852AAF #54AF2A
analogous
#432AAF #852AAF #AF2A96
triadic
#852AAF #AF852A #2AAF85
tetradic
#852AAF #AF432A #54AF2A #2A96AF
square
#852AAF #AF432A #54AF2A #2A96AF
split-complementary
#852AAF #96AF2A #2AAF43
monochromatic
#3A124C #5F1E7E #852AAF #A544D2 #BD75DE

Accessibility & contrast

On white

7.12
#852AAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#852AAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852AAF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852AAF#FFFFFF#000000##FFFFFF
##852AAF1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#175AAC
Tritanopia (blue-blind)
#80496B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #852aaf;
/* rgb */ color: rgb(133, 42, 175);
/* oklch */ color: oklch(48.6% 0.203 312.4);
Tailwind
colors: {
  custom: {
    50: '#ad6dc8',
    500: '#852aaf',
    950: '#000000',
  },
}
SCSS
$custom: #852aaf;
$custom-light: #ad6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#852aaf",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 281.053,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48619,
    "c": 0.20287,
    "h": 312.4
  },
  "luminance": 0.09738
}

Semantic roles & 50–950 ramp

primary
#852AAF
secondary
#8AC66F
accent
#E44376
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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