#852F91#852F91

#852F91 is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.1% C 0.169 H 322.6°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#852F91
RGBrgb(133, 47, 145)
HSLhsl(293, 51%, 38%)
HSVhsv(293, 68%, 57%)
CMYKcmyk(8.3%, 67.6%, 0%, 43.1%)
CIE-LABlab(36.11, 50.31, -36.88)
CIE-LCHlch(36.11, 62.39, 323.76°)
OKLaboklab(47.09% 0.1343 -0.1028)
OKLCHoklch(47.09% 0.169 322.6)
XYZxyz(15.7997, 9.0648, 27.7000)
Luminance0.0906 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852F91 #3B912F
analogous
#542F91 #852F91 #912F6C
triadic
#852F91 #91852F #2F9185
tetradic
#852F91 #91542F #3B912F #2F6C91
square
#852F91 #91542F #3B912F #2F6C91
split-complementary
#852F91 #6C912F #2F9154
monochromatic
#301135 #5B2063 #852F91 #AF3EBF #C36BCF

Accessibility & contrast

On white

7.47
#852F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#852F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852F91
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852F91#FFFFFF#000000##FFFFFF
##852F911.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154F94
Deuteranopia (green-blind)
#3D588F
Tritanopia (blue-blind)
#873F5C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #852f91;
/* rgb */ color: rgb(133, 47, 145);
/* oklch */ color: oklch(47.1% 0.169 322.6);
Tailwind
colors: {
  custom: {
    50: '#ab6fb2',
    500: '#852f91',
    950: '#000000',
  },
}
SCSS
$custom: #852f91;
$custom-light: #ab6fb2;
$custom-dark: #000000;
JSON
{
  "hex": "#852f91",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 292.653,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.47094,
    "c": 0.16911,
    "h": 322.6
  },
  "luminance": 0.09064
}

Semantic roles & 50–950 ramp

primary
#852F91
secondary
#6FB665
accent
#DB4D5F
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #852F91

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

Preview Lab → · Contrast checker → · Palette generator →

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