#852F95#852F95

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

Color values

HEX#852F95
RGBrgb(133, 47, 149)
HSLhsl(291, 52%, 38%)
HSVhsv(291, 68%, 58%)
CMYKcmyk(10.7%, 68.5%, 0%, 41.6%)
CIE-LABlab(36.35, 51.09, -38.94)
CIE-LCHlch(36.35, 64.24, 322.68°)
OKLaboklab(47.34% 0.1343 -0.1088)
OKLCHoklch(47.34% 0.173 321)
XYZxyz(16.1136, 9.1903, 29.3531)
Luminance0.0919 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852F95 #3F952F
analogous
#522F95 #852F95 #952F72
triadic
#852F95 #95852F #2F9585
tetradic
#852F95 #95522F #3F952F #2F7295
square
#852F95 #95522F #3F952F #2F7295
split-complementary
#852F95 #72952F #2F9552
monochromatic
#321238 #5B2066 #852F95 #AE3FC2 #C16DD1

Accessibility & contrast

On white

7.40
#852F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#852F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852F95
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852F95#FFFFFF#000000##FFFFFF
##852F951.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4F98
Deuteranopia (green-blind)
#3A5993
Tritanopia (blue-blind)
#86415E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #852f95;
/* rgb */ color: rgb(133, 47, 149);
/* oklch */ color: oklch(47.3% 0.173 321.0);
Tailwind
colors: {
  custom: {
    50: '#ac6fb5',
    500: '#852f95',
    950: '#000000',
  },
}
SCSS
$custom: #852f95;
$custom-light: #ac6fb5;
$custom-dark: #000000;
JSON
{
  "hex": "#852f95",
  "rgb": {
    "r": 133,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 290.588,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47343,
    "c": 0.17279,
    "h": 321
  },
  "luminance": 0.0919
}

Semantic roles & 50–950 ramp

primary
#852F95
secondary
#74B867
accent
#DB4C63
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #852F95

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

Preview Lab → · Contrast checker → · Palette generator →

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