#852EAA#852EAA

#852EAA is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.6% C 0.194 H 313.7°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#852EAA
RGBrgb(133, 46, 170)
HSLhsl(282, 57%, 42%)
HSVhsv(282, 73%, 67%)
CMYKcmyk(21.8%, 72.9%, 0%, 33.3%)
CIE-LABlab(37.56, 55.76, -49.67)
CIE-LCHlch(37.56, 74.67, 318.31°)
OKLaboklab(48.64% 0.1337 -0.1402)
OKLCHoklch(48.64% 0.194 313.7)
XYZxyz(17.9043, 9.8434, 38.9792)
Luminance0.0984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852EAA #53AA2E
analogous
#472EAA #852EAA #AA2E91
triadic
#852EAA #AA852E #2EAA85
tetradic
#852EAA #AA472E #53AA2E #2E91AA
square
#852EAA #AA472E #53AA2E #2E91AA
split-complementary
#852EAA #91AA2E #2EAA47
monochromatic
#3A144A #5F217A #852EAA #A648CD #BD78DA

Accessibility & contrast

On white

7.07
#852EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#852EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852EAA
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852EAA#FFFFFF#000000##FFFFFF
##852EAA1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054AE
Deuteranopia (green-blind)
#245AA7
Tritanopia (blue-blind)
#814969
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #852eaa;
/* rgb */ color: rgb(133, 46, 170);
/* oklch */ color: oklch(48.6% 0.194 313.7);
Tailwind
colors: {
  custom: {
    50: '#ad6fc4',
    500: '#852eaa',
    950: '#000000',
  },
}
SCSS
$custom: #852eaa;
$custom-light: #ad6fc4;
$custom-dark: #000000;
JSON
{
  "hex": "#852eaa",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 282.097,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.48643,
    "c": 0.19373,
    "h": 313.7
  },
  "luminance": 0.09843
}

Semantic roles & 50–950 ramp

primary
#852EAA
secondary
#8AC371
accent
#E14775
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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