#852BAF#852BAF

#852BAF is a mid, highly saturated purple. Relative luminance 0.098; OKLCH L 48.7% C 0.202 H 312.3°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#852BAF
RGBrgb(133, 43, 175)
HSLhsl(281, 61%, 43%)
HSVhsv(281, 75%, 69%)
CMYKcmyk(24%, 75.4%, 0%, 31.4%)
CIE-LABlab(37.50, 57.98, -52.74)
CIE-LCHlch(37.50, 78.38, 317.71°)
OKLaboklab(48.71% 0.1359 -0.1492)
OKLCHoklch(48.71% 0.202 312.3)
XYZxyz(18.2732, 9.8100, 41.4801)
Luminance0.0981 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852BAF #55AF2B
analogous
#432BAF #852BAF #AF2B97
triadic
#852BAF #AF852B #2BAF85
tetradic
#852BAF #AF432B #55AF2B #2B97AF
square
#852BAF #AF432B #55AF2B #2B97AF
split-complementary
#852BAF #97AF2B #2BAF43
monochromatic
#3A134D #601F7E #852BAF #A546D1 #BD77DE

Accessibility & contrast

On white

7.09
#852BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#852BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852BAF
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852BAF#FFFFFF#000000##FFFFFF
##852BAF1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#185AAC
Tritanopia (blue-blind)
#80496B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #852baf;
/* rgb */ color: rgb(133, 43, 175);
/* oklch */ color: oklch(48.7% 0.202 312.3);
Tailwind
colors: {
  custom: {
    50: '#ad6ec8',
    500: '#852baf',
    950: '#000000',
  },
}
SCSS
$custom: #852baf;
$custom-light: #ad6ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#852baf",
  "rgb": {
    "r": 133,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 280.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.48711,
    "c": 0.2018,
    "h": 312.3
  },
  "luminance": 0.09809
}

Semantic roles & 50–950 ramp

primary
#852BAF
secondary
#8BC570
accent
#E44477
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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