#84257F#84257F

#84257F is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.8% C 0.166 H 330.2°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#84257F
RGBrgb(132, 37, 127)
HSLhsl(303, 56%, 33%)
HSVhsv(303, 72%, 52%)
CMYKcmyk(0%, 72%, 3.8%, 48.2%)
CIE-LABlab(33.48, 50.82, -29.94)
CIE-LCHlch(33.48, 58.98, 329.50°)
OKLaboklab(44.84% 0.144 -0.0825)
OKLCHoklch(44.84% 0.166 330.2)
XYZxyz(14.0080, 7.7620, 20.8350)
Luminance0.0776 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#84257F #25842A
analogous
#592584 #84257F #84254F
triadic
#84257F #7F8425 #257F84
tetradic
#84257F #845925 #25842A #254F84
square
#84257F #845925 #25842A #254F84
split-complementary
#84257F #4F8425 #258459
monochromatic
#240A23 #541851 #84257F #B432AD #CF54C9

Accessibility & contrast

On white

8.23
#84257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#84257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #84257F
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##84257F#FFFFFF#000000##FFFFFF
##84257F1.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4682
Deuteranopia (green-blind)
#41537D
Tritanopia (blue-blind)
#89314F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #84257f;
/* rgb */ color: rgb(132, 37, 127);
/* oklch */ color: oklch(44.8% 0.166 330.2);
Tailwind
colors: {
  custom: {
    50: '#ab69a4',
    500: '#84257f',
    950: '#000000',
  },
}
SCSS
$custom: #84257f;
$custom-light: #ab69a4;
$custom-dark: #000000;
JSON
{
  "hex": "#84257f",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 303.158,
    "s": 56.213,
    "l": 33.137
  },
  "oklch": {
    "l": 0.44837,
    "c": 0.16599,
    "h": 330.2
  },
  "luminance": 0.07761
}

Semantic roles & 50–950 ramp

primary
#84257F
secondary
#51B357
accent
#E05048
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #84257F

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

Preview Lab → · Contrast checker → · Palette generator →

#84257F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva