#852FAA#852FAA

#852FAA is a mid, vivid purple. Relative luminance 0.099; OKLCH L 48.7% C 0.193 H 313.6°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#852FAA
RGBrgb(133, 47, 170)
HSLhsl(282, 57%, 43%)
HSVhsv(282, 72%, 67%)
CMYKcmyk(21.8%, 72.4%, 0%, 33.3%)
CIE-LABlab(37.70, 55.36, -49.44)
CIE-LCHlch(37.70, 74.22, 318.23°)
OKLaboklab(48.75% 0.1327 -0.1395)
OKLCHoklch(48.75% 0.193 313.6)
XYZxyz(17.9438, 9.9224, 38.9924)
Luminance0.0992 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852FAA #54AA2F
analogous
#472FAA #852FAA #AA2F92
triadic
#852FAA #AA852F #2FAA85
tetradic
#852FAA #AA472F #54AA2F #2F92AA
square
#852FAA #AA472F #54AA2F #2F92AA
split-complementary
#852FAA #92AA2F #2FAA47
monochromatic
#3A144A #5F227A #852FAA #A549CD #BD79DA

Accessibility & contrast

On white

7.04
#852FAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#852FAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852FAA
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852FAA#FFFFFF#000000##FFFFFF
##852FAA1.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#265BA7
Tritanopia (blue-blind)
#81496A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852faa;
/* rgb */ color: rgb(133, 47, 170);
/* oklch */ color: oklch(48.7% 0.193 313.6);
Tailwind
colors: {
  custom: {
    50: '#ac70c4',
    500: '#852faa',
    950: '#000000',
  },
}
SCSS
$custom: #852faa;
$custom-light: #ac70c4;
$custom-dark: #000000;
JSON
{
  "hex": "#852faa",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 170
  },
  "hsl": {
    "h": 281.951,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48745,
    "c": 0.19256,
    "h": 313.6
  },
  "luminance": 0.09922
}

Semantic roles & 50–950 ramp

primary
#852FAA
secondary
#8AC272
accent
#E04876
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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