#852287#852287

#852287 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.177 H 327.2°. Best body text is #FFFFFF at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#852287
RGBrgb(133, 34, 135)
HSLhsl(299, 60%, 33%)
HSVhsv(299, 75%, 53%)
CMYKcmyk(1.5%, 74.8%, 0%, 47.1%)
CIE-LABlab(33.73, 53.52, -34.51)
CIE-LCHlch(33.73, 63.68, 327.19°)
OKLaboklab(45.2% 0.1483 -0.0957)
OKLCHoklch(45.2% 0.177 327.2)
XYZxyz(14.6178, 7.8809, 23.6682)
Luminance0.0788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852287 #248722
analogous
#522287 #852287 #872256
triadic
#852287 #878522 #228785
tetradic
#852287 #875222 #248722 #225687
square
#852287 #875222 #248722 #225687
split-complementary
#852287 #568722 #228752
monochromatic
#250925 #551656 #852287 #B52EB8 #D050D3

Accessibility & contrast

On white

8.15
#852287 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#852287 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852287
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852287#FFFFFF#000000##FFFFFF
##8522871.008.152.588.15
#FFFFFF8.151.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A478A
Deuteranopia (green-blind)
#3C5485
Tritanopia (blue-blind)
#893253
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #852287;
/* rgb */ color: rgb(133, 34, 135);
/* oklch */ color: oklch(45.2% 0.177 327.2);
Tailwind
colors: {
  custom: {
    50: '#ac68aa',
    500: '#852287',
    950: '#000000',
  },
}
SCSS
$custom: #852287;
$custom-light: #ac68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#852287",
  "rgb": {
    "r": 133,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 298.812,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.45199,
    "c": 0.17654,
    "h": 327.2
  },
  "luminance": 0.0788
}

Semantic roles & 50–950 ramp

primary
#852287
secondary
#50B74E
accent
#E34548
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #852287

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

Preview Lab → · Contrast checker → · Palette generator →

#852287 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva