#852F93#852F93

#852F93 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.2% C 0.171 H 321.8°. Best body text is #FFFFFF at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#852F93
RGBrgb(133, 47, 147)
HSLhsl(292, 52%, 38%)
HSVhsv(292, 68%, 58%)
CMYKcmyk(9.5%, 68%, 0%, 42.4%)
CIE-LABlab(36.23, 50.70, -37.92)
CIE-LCHlch(36.23, 63.31, 323.21°)
OKLaboklab(47.22% 0.1343 -0.1058)
OKLCHoklch(47.22% 0.171 321.8)
XYZxyz(15.9553, 9.1270, 28.5194)
Luminance0.0913 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852F93 #3D932F
analogous
#532F93 #852F93 #932F6F
triadic
#852F93 #93852F #2F9385
tetradic
#852F93 #93532F #3D932F #2F6F93
square
#852F93 #93532F #3D932F #2F6F93
split-complementary
#852F93 #6F932F #2F9353
monochromatic
#311136 #5B2065 #852F93 #AF3EC1 #C26CD0

Accessibility & contrast

On white

7.43
#852F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#852F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852F93
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852F93#FFFFFF#000000##FFFFFF
##852F931.007.432.837.43
#FFFFFF7.431.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124F96
Deuteranopia (green-blind)
#3B5891
Tritanopia (blue-blind)
#86405D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #852f93;
/* rgb */ color: rgb(133, 47, 147);
/* oklch */ color: oklch(47.2% 0.171 321.8);
Tailwind
colors: {
  custom: {
    50: '#ac6fb3',
    500: '#852f93',
    950: '#000000',
  },
}
SCSS
$custom: #852f93;
$custom-light: #ac6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#852f93",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 147
  },
  "hsl": {
    "h": 291.6,
    "s": 51.546,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47218,
    "c": 0.17094,
    "h": 321.8
  },
  "luminance": 0.09126
}

Semantic roles & 50–950 ramp

primary
#852F93
secondary
#72B766
accent
#DB4D61
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #852F93

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

Preview Lab → · Contrast checker → · Palette generator →

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