#852D94#852D94

#852D94 is a mid, vivid purple. Relative luminance 0.090; OKLCH L 47.1% C 0.174 H 321.5°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#852D94
RGBrgb(133, 45, 148)
HSLhsl(291, 53%, 38%)
HSVhsv(291, 70%, 58%)
CMYKcmyk(10.1%, 69.6%, 0%, 42%)
CIE-LABlab(35.99, 51.73, -38.91)
CIE-LCHlch(35.99, 64.73, 323.05°)
OKLaboklab(47.07% 0.1365 -0.1086)
OKLCHoklch(47.07% 0.174 321.5)
XYZxyz(15.9560, 9.0023, 28.9084)
Luminance0.0900 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852D94 #3C942D
analogous
#512D94 #852D94 #942D6F
triadic
#852D94 #94852D #2D9485
tetradic
#852D94 #94512D #3C942D #2D6F94
square
#852D94 #94512D #3C942D #2D6F94
split-complementary
#852D94 #6F942D #2D9451
monochromatic
#311036 #5B1F65 #852D94 #AF3BC3 #C36AD2

Accessibility & contrast

On white

7.50
#852D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#852D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852D94
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852D94#FFFFFF#000000##FFFFFF
##852D941.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#094E97
Deuteranopia (green-blind)
#395891
Tritanopia (blue-blind)
#863F5D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #852d94;
/* rgb */ color: rgb(133, 45, 148);
/* oklch */ color: oklch(47.1% 0.174 321.5);
Tailwind
colors: {
  custom: {
    50: '#ac6eb4',
    500: '#852d94',
    950: '#000000',
  },
}
SCSS
$custom: #852d94;
$custom-light: #ac6eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#852d94",
  "rgb": {
    "r": 133,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 291.262,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.47066,
    "c": 0.17449,
    "h": 321.5
  },
  "luminance": 0.09001
}

Semantic roles & 50–950 ramp

primary
#852D94
secondary
#71B864
accent
#DD4B60
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#100811
muted
#7F7B80

Preview Lab

Preview with #852D94

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

Preview Lab → · Contrast checker → · Palette generator →

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