#852278#852278

#852278 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.3% C 0.165 H 333.9°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#852278
RGBrgb(133, 34, 120)
HSLhsl(308, 59%, 33%)
HSVhsv(308, 74%, 52%)
CMYKcmyk(0%, 74.4%, 9.8%, 47.8%)
CIE-LABlab(32.89, 51.00, -26.46)
CIE-LCHlch(32.89, 57.46, 332.58°)
OKLaboklab(44.32% 0.1479 -0.0725)
OKLCHoklch(44.32% 0.165 333.9)
XYZxyz(13.6352, 7.4878, 18.4928)
Luminance0.0749 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852278 #22852F
analogous
#602285 #852278 #852246
triadic
#852278 #788522 #227885
tetradic
#852278 #856022 #22852F #224685
square
#852278 #856022 #22852F #224685
split-complementary
#852278 #468522 #228560
monochromatic
#240920 #54164C #852278 #B62EA4 #D24FC1

Accessibility & contrast

On white

8.41
#852278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#852278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852278
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852278#FFFFFF#000000##FFFFFF
##8522781.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20447A
Deuteranopia (green-blind)
#445276
Tritanopia (blue-blind)
#8B2B4A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #852278;
/* rgb */ color: rgb(133, 34, 120);
/* oklch */ color: oklch(44.3% 0.165 333.9);
Tailwind
colors: {
  custom: {
    50: '#ac689f',
    500: '#852278',
    950: '#000000',
  },
}
SCSS
$custom: #852278;
$custom-light: #ac689f;
$custom-dark: #000000;
JSON
{
  "hex": "#852278",
  "rgb": {
    "r": 133,
    "g": 34,
    "b": 120
  },
  "hsl": {
    "h": 307.879,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44323,
    "c": 0.16466,
    "h": 333.9
  },
  "luminance": 0.07487
}

Semantic roles & 50–950 ramp

primary
#852278
secondary
#4DB65B
accent
#E25A45
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #852278

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

Preview Lab → · Contrast checker → · Palette generator →

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