#852E95#852E95

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

Color values

HEX#852E95
RGBrgb(133, 46, 149)
HSLhsl(291, 53%, 38%)
HSVhsv(291, 69%, 58%)
CMYKcmyk(10.7%, 69.1%, 0%, 41.6%)
CIE-LABlab(36.20, 51.51, -39.18)
CIE-LCHlch(36.20, 64.72, 322.74°)
OKLaboklab(47.24% 0.1354 -0.1095)
OKLCHoklch(47.24% 0.174 321)
XYZxyz(16.0741, 9.1113, 29.3399)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852E95 #3E952E
analogous
#512E95 #852E95 #952E71
triadic
#852E95 #95852E #2E9585
tetradic
#852E95 #95512E #3E952E #2E7195
square
#852E95 #95512E #3E952E #2E7195
split-complementary
#852E95 #71952E #2E9551
monochromatic
#321137 #5B2066 #852E95 #AE3DC3 #C26CD2

Accessibility & contrast

On white

7.44
#852E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#852E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852E95
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852E95#FFFFFF#000000##FFFFFF
##852E951.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4F98
Deuteranopia (green-blind)
#395892
Tritanopia (blue-blind)
#86405E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #852e95;
/* rgb */ color: rgb(133, 46, 149);
/* oklch */ color: oklch(47.2% 0.174 321.0);
Tailwind
colors: {
  custom: {
    50: '#ac6eb5',
    500: '#852e95',
    950: '#000000',
  },
}
SCSS
$custom: #852e95;
$custom-light: #ac6eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#852e95",
  "rgb": {
    "r": 133,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 290.68,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47235,
    "c": 0.17411,
    "h": 321
  },
  "luminance": 0.0911
}

Semantic roles & 50–950 ramp

primary
#852E95
secondary
#73B966
accent
#DC4C62
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #852E95

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

Preview Lab → · Contrast checker → · Palette generator →

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