#852F94#852F94

#852F94 is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.3% C 0.172 H 321.4°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#852F94
RGBrgb(133, 47, 148)
HSLhsl(291, 52%, 38%)
HSVhsv(291, 68%, 58%)
CMYKcmyk(10.1%, 68.2%, 0%, 42%)
CIE-LABlab(36.29, 50.90, -38.43)
CIE-LCHlch(36.29, 63.78, 322.94°)
OKLaboklab(47.28% 0.1343 -0.1073)
OKLCHoklch(47.28% 0.172 321.4)
XYZxyz(16.0341, 9.1585, 28.9344)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852F94 #3E942F
analogous
#522F94 #852F94 #942F70
triadic
#852F94 #94852F #2F9485
tetradic
#852F94 #94522F #3E942F #2F7094
square
#852F94 #94522F #3E942F #2F7094
split-complementary
#852F94 #70942F #2F9452
monochromatic
#321137 #5B2066 #852F94 #AE3EC2 #C26DD1

Accessibility & contrast

On white

7.42
#852F94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #852F94
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852F94#FFFFFF#000000##FFFFFF
##852F941.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4F97
Deuteranopia (green-blind)
#3B5992
Tritanopia (blue-blind)
#86405E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #852f94;
/* rgb */ color: rgb(133, 47, 148);
/* oklch */ color: oklch(47.3% 0.172 321.4);
Tailwind
colors: {
  custom: {
    50: '#ac6fb4',
    500: '#852f94',
    950: '#000000',
  },
}
SCSS
$custom: #852f94;
$custom-light: #ac6fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#852f94",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 148
  },
  "hsl": {
    "h": 291.089,
    "s": 51.795,
    "l": 38.235
  },
  "oklch": {
    "l": 0.4728,
    "c": 0.17187,
    "h": 321.4
  },
  "luminance": 0.09158
}

Semantic roles & 50–950 ramp

primary
#852F94
secondary
#73B867
accent
#DB4D62
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #852F94

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

Preview Lab → · Contrast checker → · Palette generator →

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