#82257E#82257E

#82257E is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.164 H 329.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#82257E
RGBrgb(130, 37, 126)
HSLhsl(303, 56%, 33%)
HSVhsv(303, 72%, 51%)
CMYKcmyk(0%, 71.5%, 3.1%, 49%)
CIE-LABlab(33.08, 50.16, -29.96)
CIE-LCHlch(33.08, 58.43, 329.15°)
OKLaboklab(44.47% 0.1417 -0.0827)
OKLCHoklch(44.47% 0.164 329.7)
XYZxyz(13.6333, 7.5763, 20.4789)
Luminance0.0757 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82257E #258229
analogous
#582582 #82257E #82254F
triadic
#82257E #7E8225 #257E82
tetradic
#82257E #825825 #258229 #254F82
square
#82257E #825825 #258229 #254F82
split-complementary
#82257E #4F8225 #258258
monochromatic
#230A22 #521750 #82257E #B233AC #CE53C9

Accessibility & contrast

On white

8.35
#82257E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#82257E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82257E
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82257E#FFFFFF#000000##FFFFFF
##82257E1.008.352.518.35
#FFFFFF8.351.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4681
Deuteranopia (green-blind)
#3F527C
Tritanopia (blue-blind)
#87314F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #82257e;
/* rgb */ color: rgb(130, 37, 126);
/* oklch */ color: oklch(44.5% 0.164 329.7);
Tailwind
colors: {
  custom: {
    50: '#a969a4',
    500: '#82257e',
    950: '#000000',
  },
}
SCSS
$custom: #82257e;
$custom-light: #a969a4;
$custom-dark: #000000;
JSON
{
  "hex": "#82257e",
  "rgb": {
    "r": 130,
    "g": 37,
    "b": 126
  },
  "hsl": {
    "h": 302.581,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44466,
    "c": 0.16406,
    "h": 329.7
  },
  "luminance": 0.07575
}

Semantic roles & 50–950 ramp

primary
#82257E
secondary
#50B255
accent
#DF4F49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #82257E

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

Preview Lab → · Contrast checker → · Palette generator →

#82257E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva