#852286#852286

#852286 is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.1% C 0.176 H 327.6°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#852286
RGBrgb(133, 34, 134)
HSLhsl(299, 60%, 33%)
HSVhsv(299, 75%, 53%)
CMYKcmyk(0.7%, 74.6%, 0%, 47.5%)
CIE-LABlab(33.67, 53.34, -33.98)
CIE-LCHlch(33.67, 63.25, 327.50°)
OKLaboklab(45.14% 0.1483 -0.0942)
OKLCHoklch(45.14% 0.176 327.6)
XYZxyz(14.5478, 7.8529, 23.2992)
Luminance0.0785 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852286 #238622
analogous
#532286 #852286 #862255
triadic
#852286 #868522 #228685
tetradic
#852286 #865322 #238622 #225586
square
#852286 #865322 #238622 #225586
split-complementary
#852286 #558622 #228653
monochromatic
#240924 #551655 #852286 #B52EB7 #D150D3

Accessibility & contrast

On white

8.17
#852286 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#852286 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852286
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852286#FFFFFF#000000##FFFFFF
##8522861.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C4789
Deuteranopia (green-blind)
#3C5484
Tritanopia (blue-blind)
#893252
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #852286;
/* rgb */ color: rgb(133, 34, 134);
/* oklch */ color: oklch(45.1% 0.176 327.6);
Tailwind
colors: {
  custom: {
    50: '#ac68aa',
    500: '#852286',
    950: '#000000',
  },
}
SCSS
$custom: #852286;
$custom-light: #ac68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#852286",
  "rgb": {
    "r": 133,
    "g": 34,
    "b": 134
  },
  "hsl": {
    "h": 299.4,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.45137,
    "c": 0.17573,
    "h": 327.6
  },
  "luminance": 0.07852
}

Semantic roles & 50–950 ramp

primary
#852286
secondary
#4FB64E
accent
#E34547
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#110710
muted
#807A7F

Preview Lab

Preview with #852286

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

Preview Lab → · Contrast checker → · Palette generator →

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