#852277#852277

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

Color values

HEX#852277
RGBrgb(133, 34, 119)
HSLhsl(308, 59%, 33%)
HSVhsv(308, 74%, 52%)
CMYKcmyk(0%, 74.4%, 10.5%, 47.8%)
CIE-LABlab(32.84, 50.84, -25.91)
CIE-LCHlch(32.84, 57.06, 332.99°)
OKLaboklab(44.27% 0.1478 -0.0709)
OKLCHoklch(44.27% 0.164 334.4)
XYZxyz(13.5748, 7.4637, 18.1749)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852277 #228530
analogous
#612285 #852277 #852245
triadic
#852277 #778522 #227785
tetradic
#852277 #856122 #228530 #224585
square
#852277 #856122 #228530 #224585
split-complementary
#852277 #458522 #228561
monochromatic
#240920 #54164B #852277 #B62EA3 #D24FC0

Accessibility & contrast

On white

8.42
#852277 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #852277
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852277#FFFFFF#000000##FFFFFF
##8522771.008.422.498.42
#FFFFFF8.421.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204479
Deuteranopia (green-blind)
#445275
Tritanopia (blue-blind)
#8C2B4A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #852277;
/* rgb */ color: rgb(133, 34, 119);
/* oklch */ color: oklch(44.3% 0.164 334.4);
Tailwind
colors: {
  custom: {
    50: '#ac689e',
    500: '#852277',
    950: '#000000',
  },
}
SCSS
$custom: #852277;
$custom-light: #ac689e;
$custom-dark: #000000;
JSON
{
  "hex": "#852277",
  "rgb": {
    "r": 133,
    "g": 34,
    "b": 119
  },
  "hsl": {
    "h": 308.485,
    "s": 59.281,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44268,
    "c": 0.16389,
    "h": 334.4
  },
  "luminance": 0.07463
}

Semantic roles & 50–950 ramp

primary
#852277
secondary
#4DB65C
accent
#E25C45
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #852277

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

Preview Lab → · Contrast checker → · Palette generator →

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