#82257F#82257F

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

Color values

HEX#82257F
RGBrgb(130, 37, 127)
HSLhsl(302, 56%, 33%)
HSVhsv(302, 72%, 51%)
CMYKcmyk(0%, 71.5%, 2.3%, 49%)
CIE-LABlab(33.14, 50.33, -30.50)
CIE-LCHlch(33.14, 58.85, 328.79°)
OKLaboklab(44.53% 0.1418 -0.0842)
OKLCHoklch(44.53% 0.165 329.3)
XYZxyz(13.6981, 7.6023, 20.8205)
Luminance0.0760 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82257F #258228
analogous
#562582 #82257F #822551
triadic
#82257F #7F8225 #257F82
tetradic
#82257F #825625 #258228 #255182
square
#82257F #825625 #258228 #255182
split-complementary
#82257F #518225 #258256
monochromatic
#230A22 #521750 #82257F #B233AE #CE53CA

Accessibility & contrast

On white

8.33
#82257F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#82257F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82257F
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82257F#FFFFFF#000000##FFFFFF
##82257F1.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194682
Deuteranopia (green-blind)
#3F527D
Tritanopia (blue-blind)
#87314F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #82257f;
/* rgb */ color: rgb(130, 37, 127);
/* oklch */ color: oklch(44.5% 0.165 329.3);
Tailwind
colors: {
  custom: {
    50: '#a969a4',
    500: '#82257f',
    950: '#000000',
  },
}
SCSS
$custom: #82257f;
$custom-light: #a969a4;
$custom-dark: #000000;
JSON
{
  "hex": "#82257f",
  "rgb": {
    "r": 130,
    "g": 37,
    "b": 127
  },
  "hsl": {
    "h": 301.935,
    "s": 55.689,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44525,
    "c": 0.16489,
    "h": 329.3
  },
  "luminance": 0.07601
}

Semantic roles & 50–950 ramp

primary
#82257F
secondary
#50B254
accent
#DF4E49
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #82257F

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

Preview Lab → · Contrast checker → · Palette generator →

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