#852DAF#852DAF

#852DAF is a mid, vivid purple. Relative luminance 0.100; OKLCH L 48.9% C 0.200 H 312.2°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#852DAF
RGBrgb(133, 45, 175)
HSLhsl(281, 59%, 43%)
HSVhsv(281, 74%, 69%)
CMYKcmyk(24%, 74.3%, 0%, 31.4%)
CIE-LABlab(37.77, 57.21, -52.31)
CIE-LCHlch(37.77, 77.52, 317.56°)
OKLaboklab(48.9% 0.134 -0.1479)
OKLCHoklch(48.9% 0.2 312.2)
XYZxyz(18.3477, 9.9590, 41.5049)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852DAF #57AF2D
analogous
#442DAF #852DAF #AF2D98
triadic
#852DAF #AF852D #2DAF85
tetradic
#852DAF #AF442D #57AF2D #2D98AF
square
#852DAF #AF442D #57AF2D #2D98AF
split-complementary
#852DAF #98AF2D #2DAF44
monochromatic
#3B144E #60207E #852DAF #A549D0 #BD7ADD

Accessibility & contrast

On white

7.02
#852DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#852DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852DAF
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852DAF#FFFFFF#000000##FFFFFF
##852DAF1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#1B5BAC
Tritanopia (blue-blind)
#804A6C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #852daf;
/* rgb */ color: rgb(133, 45, 175);
/* oklch */ color: oklch(48.9% 0.200 312.2);
Tailwind
colors: {
  custom: {
    50: '#ad6fc8',
    500: '#852daf',
    950: '#000000',
  },
}
SCSS
$custom: #852daf;
$custom-light: #ad6fc8;
$custom-dark: #000000;
JSON
{
  "hex": "#852daf",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 280.615,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.48902,
    "c": 0.1996,
    "h": 312.2
  },
  "luminance": 0.09958
}

Semantic roles & 50–950 ramp

primary
#852DAF
secondary
#8DC573
accent
#E24678
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #852DAF

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

Preview Lab → · Contrast checker → · Palette generator →

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