#852F97#852F97

#852F97 is a mid, vivid purple. Relative luminance 0.093; OKLCH L 47.5% C 0.175 H 320.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#852F97
RGBrgb(133, 47, 151)
HSLhsl(290, 53%, 39%)
HSVhsv(290, 69%, 59%)
CMYKcmyk(11.9%, 68.9%, 0%, 40.8%)
CIE-LABlab(36.47, 51.48, -39.97)
CIE-LCHlch(36.47, 65.18, 322.18°)
OKLaboklab(47.47% 0.1342 -0.1118)
OKLCHoklch(47.47% 0.175 320.2)
XYZxyz(16.2746, 9.2547, 30.2013)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852F97 #41972F
analogous
#512F97 #852F97 #972F75
triadic
#852F97 #97852F #2F9785
tetradic
#852F97 #97512F #41972F #2F7597
square
#852F97 #97512F #41972F #2F7597
split-complementary
#852F97 #75972F #2F9751
monochromatic
#33123A #5C2068 #852F97 #AD40C3 #C16ED2

Accessibility & contrast

On white

7.37
#852F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#852F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852F97
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852F97#FFFFFF#000000##FFFFFF
##852F971.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07509A
Deuteranopia (green-blind)
#385994
Tritanopia (blue-blind)
#86425F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #852f97;
/* rgb */ color: rgb(133, 47, 151);
/* oklch */ color: oklch(47.5% 0.175 320.2);
Tailwind
colors: {
  custom: {
    50: '#ac6fb6',
    500: '#852f97',
    950: '#000000',
  },
}
SCSS
$custom: #852f97;
$custom-light: #ac6fb6;
$custom-dark: #000000;
JSON
{
  "hex": "#852f97",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 151
  },
  "hsl": {
    "h": 289.615,
    "s": 52.525,
    "l": 38.824
  },
  "oklch": {
    "l": 0.4747,
    "c": 0.17465,
    "h": 320.2
  },
  "luminance": 0.09254
}

Semantic roles & 50–950 ramp

primary
#852F97
secondary
#76B968
accent
#DC4C65
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #852F97

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

Preview Lab → · Contrast checker → · Palette generator →

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