#852D8D#852D8D

#852D8D is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.6% C 0.168 H 324.3°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#852D8D
RGBrgb(133, 45, 141)
HSLhsl(295, 52%, 36%)
HSVhsv(295, 68%, 55%)
CMYKcmyk(5.7%, 68.1%, 0%, 44.7%)
CIE-LABlab(35.57, 50.40, -35.29)
CIE-LCHlch(35.57, 61.53, 325.00°)
OKLaboklab(46.63% 0.1366 -0.0981)
OKLCHoklch(46.63% 0.168 324.3)
XYZxyz(15.4186, 8.7873, 26.0781)
Luminance0.0879 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852D8D #358D2D
analogous
#552D8D #852D8D #8D2D65
triadic
#852D8D #8D852D #2D8D85
tetradic
#852D8D #8D552D #358D2D #2D658D
square
#852D8D #8D552D #358D2D #2D658D
split-complementary
#852D8D #658D2D #2D8D55
monochromatic
#2D0F30 #591E5F #852D8D #B13CBB #C666CE

Accessibility & contrast

On white

7.62
#852D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#852D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852D8D
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852D8D#FFFFFF#000000##FFFFFF
##852D8D1.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174D90
Deuteranopia (green-blind)
#3E578B
Tritanopia (blue-blind)
#883C59
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #852d8d;
/* rgb */ color: rgb(133, 45, 141);
/* oklch */ color: oklch(46.6% 0.168 324.3);
Tailwind
colors: {
  custom: {
    50: '#ab6daf',
    500: '#852d8d',
    950: '#000000',
  },
}
SCSS
$custom: #852d8d;
$custom-light: #ab6daf;
$custom-dark: #000000;
JSON
{
  "hex": "#852d8d",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 295,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.46631,
    "c": 0.16818,
    "h": 324.3
  },
  "luminance": 0.08786
}

Semantic roles & 50–950 ramp

primary
#852D8D
secondary
#68B561
accent
#DB4D59
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#100810
muted
#7F7B7F

Preview Lab

Preview with #852D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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