#82239D#82239D

#82239D is a mid, vivid purple. Relative luminance 0.084; OKLCH L 46.3% C 0.193 H 317.4°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#82239D
RGBrgb(130, 35, 157)
HSLhsl(287, 64%, 38%)
HSVhsv(287, 78%, 62%)
CMYKcmyk(17.2%, 77.7%, 0%, 38.4%)
CIE-LABlab(34.77, 56.63, -46.37)
CIE-LCHlch(34.77, 73.19, 320.69°)
OKLaboklab(46.29% 0.1421 -0.1305)
OKLCHoklch(46.29% 0.193 317.4)
XYZxyz(15.8919, 8.3829, 32.6727)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82239D #3E9D23
analogous
#45239D #82239D #9D237B
triadic
#82239D #9D8223 #239D82
tetradic
#82239D #9D4523 #3E9D23 #237B9D
square
#82239D #9D4523 #3E9D23 #237B9D
split-complementary
#82239D #7B9D23 #239D45
monochromatic
#2F0D39 #59186B #82239D #AB2ECF #C05FDB

Accessibility & contrast

On white

7.85
#82239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#82239D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82239D
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82239D#FFFFFF#000000##FFFFFF
##82239D1.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA0
Deuteranopia (green-blind)
#26559A
Tritanopia (blue-blind)
#813E5F
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #82239d;
/* rgb */ color: rgb(130, 35, 157);
/* oklch */ color: oklch(46.3% 0.193 317.4);
Tailwind
colors: {
  custom: {
    50: '#aa69bb',
    500: '#82239d',
    950: '#000000',
  },
}
SCSS
$custom: #82239d;
$custom-light: #aa69bb;
$custom-dark: #000000;
JSON
{
  "hex": "#82239d",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 286.721,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.46288,
    "c": 0.1929,
    "h": 317.4
  },
  "luminance": 0.08382
}

Semantic roles & 50–950 ramp

primary
#82239D
secondary
#72C05C
accent
#E74166
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #82239D

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

Preview Lab → · Contrast checker → · Palette generator →

#82239D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva