#852578#852578

#852578 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.161 H 333.9°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#852578
RGBrgb(133, 37, 120)
HSLhsl(308, 56%, 33%)
HSVhsv(308, 72%, 52%)
CMYKcmyk(0%, 72.2%, 9.8%, 47.8%)
CIE-LABlab(33.28, 49.91, -25.85)
CIE-LCHlch(33.28, 56.20, 332.61°)
OKLaboklab(44.6% 0.1446 -0.0707)
OKLCHoklch(44.6% 0.161 333.9)
XYZxyz(13.7247, 7.6669, 18.5227)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#852578 #258532
analogous
#622585 #852578 #852548
triadic
#852578 #788525 #257885
tetradic
#852578 #856225 #258532 #254885
square
#852578 #856225 #258532 #254885
split-complementary
#852578 #488525 #258562
monochromatic
#250A22 #55184D #852578 #B532A3 #D055BF

Accessibility & contrast

On white

8.29
#852578 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#852578 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #852578
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##852578#FFFFFF#000000##FFFFFF
##8525781.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23457A
Deuteranopia (green-blind)
#455376
Tritanopia (blue-blind)
#8B2D4B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #852578;
/* rgb */ color: rgb(133, 37, 120);
/* oklch */ color: oklch(44.6% 0.161 333.9);
Tailwind
colors: {
  custom: {
    50: '#ac699f',
    500: '#852578',
    950: '#000000',
  },
}
SCSS
$custom: #852578;
$custom-light: #ac699f;
$custom-dark: #000000;
JSON
{
  "hex": "#852578",
  "rgb": {
    "r": 133,
    "g": 37,
    "b": 120
  },
  "hsl": {
    "h": 308.125,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44602,
    "c": 0.16102,
    "h": 333.9
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#852578
secondary
#52B45F
accent
#E05D48
background
#FAF6F9
surface
#F5EBF2
border
#CFC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #852578

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

Preview Lab → · Contrast checker → · Palette generator →

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