#852BA9#852BA9

#852BA9 is a mid, vivid purple. Relative luminance 0.096; OKLCH L 48.3% C 0.196 H 314.2°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#852BA9
RGBrgb(133, 43, 169)
HSLhsl(283, 59%, 42%)
HSVhsv(283, 75%, 66%)
CMYKcmyk(21.3%, 74.6%, 0%, 33.7%)
CIE-LABlab(37.08, 56.73, -49.85)
CIE-LCHlch(37.08, 75.52, 318.70°)
OKLaboklab(48.28% 0.1368 -0.1407)
OKLCHoklch(48.28% 0.196 314.2)
XYZxyz(17.6970, 9.5795, 38.4452)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BA9 #4FA92B
analogous
#462BA9 #852BA9 #A92B8E
triadic
#852BA9 #A9852B #2BA985
tetradic
#852BA9 #A9462B #4FA92B #2B8EA9
square
#852BA9 #A9462B #4FA92B #2B8EA9
split-complementary
#852BA9 #8EA92B #2BA946
monochromatic
#381247 #5F1F78 #852BA9 #A742CF #BE73DB

Accessibility & contrast

On white

7.20
#852BA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#852BA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852BA9
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BA9#FFFFFF#000000##FFFFFF
##852BA91.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052AD
Deuteranopia (green-blind)
#2359A6
Tritanopia (blue-blind)
#824768
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #852ba9;
/* rgb */ color: rgb(133, 43, 169);
/* oklch */ color: oklch(48.3% 0.196 314.2);
Tailwind
colors: {
  custom: {
    50: '#ad6ec3',
    500: '#852ba9',
    950: '#000000',
  },
}
SCSS
$custom: #852ba9;
$custom-light: #ad6ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#852ba9",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 282.857,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.48279,
    "c": 0.19623,
    "h": 314.2
  },
  "luminance": 0.09579
}

Semantic roles & 50–950 ramp

primary
#852BA9
secondary
#86C36D
accent
#E34572
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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