#852178#852178

#852178 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.166 H 333.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#852178
RGBrgb(133, 33, 120)
HSLhsl(308, 60%, 33%)
HSVhsv(308, 75%, 52%)
CMYKcmyk(0%, 75.2%, 9.8%, 47.8%)
CIE-LABlab(32.77, 51.35, -26.65)
CIE-LCHlch(32.77, 57.86, 332.57°)
OKLaboklab(44.24% 0.1489 -0.073)
OKLCHoklch(44.24% 0.166 333.9)
XYZxyz(13.6070, 7.4315, 18.4834)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852178 #21852E
analogous
#602185 #852178 #852146
triadic
#852178 #788521 #217885
tetradic
#852178 #856021 #21852E #214685
square
#852178 #856021 #21852E #214685
split-complementary
#852178 #468521 #218560
monochromatic
#230920 #54154C #852178 #B62DA4 #D34DC2

Accessibility & contrast

On white

8.45
#852178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#852178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852178
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852178#FFFFFF#000000##FFFFFF
##8521781.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E447A
Deuteranopia (green-blind)
#435276
Tritanopia (blue-blind)
#8B2A4A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #852178;
/* rgb */ color: rgb(133, 33, 120);
/* oklch */ color: oklch(44.2% 0.166 333.9);
Tailwind
colors: {
  custom: {
    50: '#ac679f',
    500: '#852178',
    950: '#000000',
  },
}
SCSS
$custom: #852178;
$custom-light: #ac679f;
$custom-dark: #000000;
JSON
{
  "hex": "#852178",
  "rgb": {
    "r": 133,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 307.8,
    "s": 60.241,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44235,
    "c": 0.16582,
    "h": 333.9
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#852178
secondary
#4CB65A
accent
#E35944
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #852178

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

Preview Lab → · Contrast checker → · Palette generator →

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