#82238D#82238D

#82238D is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.2% C 0.179 H 323.4°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#82238D
RGBrgb(130, 35, 141)
HSLhsl(294, 60%, 35%)
HSVhsv(294, 75%, 55%)
CMYKcmyk(7.8%, 75.2%, 0%, 44.7%)
CIE-LABlab(33.71, 53.58, -38.28)
CIE-LCHlch(33.71, 65.84, 324.46°)
OKLaboklab(45.2% 0.1437 -0.1068)
OKLCHoklch(45.2% 0.179 323.4)
XYZxyz(14.6142, 7.8719, 25.9438)
Luminance0.0787 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82238D #2E8D23
analogous
#4D238D #82238D #8D2363
triadic
#82238D #8D8223 #238D82
tetradic
#82238D #8D4D23 #2E8D23 #23638D
square
#82238D #8D4D23 #2E8D23 #23638D
split-complementary
#82238D #638D23 #238D4D
monochromatic
#280B2B #55175C #82238D #AF2FBE #C855D5

Accessibility & contrast

On white

8.16
#82238D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#82238D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82238D
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82238D#FFFFFF#000000##FFFFFF
##82238D1.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#35538A
Tritanopia (blue-blind)
#843656
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #82238d;
/* rgb */ color: rgb(130, 35, 141);
/* oklch */ color: oklch(45.2% 0.179 323.4);
Tailwind
colors: {
  custom: {
    50: '#aa68af',
    500: '#82238d',
    950: '#000000',
  },
}
SCSS
$custom: #82238d;
$custom-light: #aa68af;
$custom-dark: #000000;
JSON
{
  "hex": "#82238d",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 141
  },
  "hsl": {
    "h": 293.774,
    "s": 60.227,
    "l": 34.51
  },
  "oklch": {
    "l": 0.45204,
    "c": 0.17901,
    "h": 323.4
  },
  "luminance": 0.07871
}

Semantic roles & 50–950 ramp

primary
#82238D
secondary
#5DB953
accent
#E34455
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82238D

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

Preview Lab → · Contrast checker → · Palette generator →

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