#852284#852284

#852284 is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.0% C 0.174 H 328.4°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#852284
RGBrgb(133, 34, 132)
HSLhsl(301, 59%, 33%)
HSVhsv(301, 74%, 52%)
CMYKcmyk(0%, 74.4%, 0.8%, 47.8%)
CIE-LABlab(33.56, 53.00, -32.92)
CIE-LCHlch(33.56, 62.39, 328.15°)
OKLaboklab(45.02% 0.1483 -0.0911)
OKLCHoklch(45.02% 0.174 328.4)
XYZxyz(14.4096, 7.7976, 22.5715)
Luminance0.0780 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852284 #228523
analogous
#542285 #852284 #852252
triadic
#852284 #848522 #228485
tetradic
#852284 #855422 #228523 #225285
square
#852284 #855422 #228523 #225285
split-complementary
#852284 #528522 #228554
monochromatic
#240923 #541654 #852284 #B62EB4 #D24FD1

Accessibility & contrast

On white

8.21
#852284 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#852284 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852284
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852284#FFFFFF#000000##FFFFFF
##8522841.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104787
Deuteranopia (green-blind)
#3D5382
Tritanopia (blue-blind)
#893151
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #852284;
/* rgb */ color: rgb(133, 34, 132);
/* oklch */ color: oklch(45.0% 0.174 328.4);
Tailwind
colors: {
  custom: {
    50: '#ac68a8',
    500: '#852284',
    950: '#000000',
  },
}
SCSS
$custom: #852284;
$custom-light: #ac68a8;
$custom-dark: #000000;
JSON
{
  "hex": "#852284",
  "rgb": {
    "r": 133,
    "g": 34,
    "b": 132
  },
  "hsl": {
    "h": 300.606,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.45016,
    "c": 0.1741,
    "h": 328.4
  },
  "luminance": 0.07797
}

Semantic roles & 50–950 ramp

primary
#852284
secondary
#4DB64E
accent
#E24745
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #852284

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

Preview Lab → · Contrast checker → · Palette generator →

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