#852A8A#852A8A

#852A8A is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.1% C 0.169 H 325.7°. Best body text is #FFFFFF at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#852A8A
RGBrgb(133, 42, 138)
HSLhsl(297, 53%, 35%)
HSVhsv(297, 70%, 54%)
CMYKcmyk(3.6%, 69.6%, 0%, 45.9%)
CIE-LABlab(34.96, 51.07, -34.41)
CIE-LCHlch(34.96, 61.59, 326.03°)
OKLaboklab(46.14% 0.14 -0.0955)
OKLCHoklch(46.14% 0.169 325.7)
XYZxyz(15.0880, 8.4784, 24.8816)
Luminance0.0848 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852A8A #2F8A2A
analogous
#552A8A #852A8A #8A2A5F
triadic
#852A8A #8A852A #2A8A85
tetradic
#852A8A #8A552A #2F8A2A #2A5F8A
square
#852A8A #8A552A #2F8A2A #2A5F8A
split-complementary
#852A8A #5F8A2A #2A8A55
monochromatic
#2B0D2C #581C5B #852A8A #B238B9 #C960CF

Accessibility & contrast

On white

7.79
#852A8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#852A8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852A8A
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852A8A#FFFFFF#000000##FFFFFF
##852A8A1.007.792.707.79
#FFFFFF7.791.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164B8D
Deuteranopia (green-blind)
#3E5688
Tritanopia (blue-blind)
#883957
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #852a8a;
/* rgb */ color: rgb(133, 42, 138);
/* oklch */ color: oklch(46.1% 0.169 325.7);
Tailwind
colors: {
  custom: {
    50: '#ac6cac',
    500: '#852a8a',
    950: '#000000',
  },
}
SCSS
$custom: #852a8a;
$custom-light: #ac6cac;
$custom-dark: #000000;
JSON
{
  "hex": "#852a8a",
  "rgb": {
    "r": 133,
    "g": 42,
    "b": 138
  },
  "hsl": {
    "h": 296.875,
    "s": 53.333,
    "l": 35.294
  },
  "oklch": {
    "l": 0.46135,
    "c": 0.16947,
    "h": 325.7
  },
  "luminance": 0.08477
}

Semantic roles & 50–950 ramp

primary
#852A8A
secondary
#60B45B
accent
#DD4B53
background
#FAF6FA
surface
#F5ECF4
border
#CFC7CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #852A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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