#82238F#82238F

#82238F is a mid, vivid purple. Relative luminance 0.079; OKLCH L 45.3% C 0.181 H 322.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#82238F
RGBrgb(130, 35, 143)
HSLhsl(293, 61%, 35%)
HSVhsv(293, 76%, 56%)
CMYKcmyk(9.1%, 75.5%, 0%, 43.9%)
CIE-LABlab(33.84, 53.95, -39.31)
CIE-LCHlch(33.84, 66.75, 323.92°)
OKLaboklab(45.33% 0.1435 -0.1098)
OKLCHoklch(45.33% 0.181 322.6)
XYZxyz(14.7644, 7.9319, 26.7346)
Luminance0.0793 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82238F #308F23
analogous
#4C238F #82238F #8F2366
triadic
#82238F #8F8223 #238F82
tetradic
#82238F #8F4C23 #308F23 #23668F
square
#82238F #8F4C23 #308F23 #23668F
split-complementary
#82238F #668F23 #238F4C
monochromatic
#290B2D #55175E #82238F #AF2FC0 #C657D6

Accessibility & contrast

On white

8.12
#82238F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#82238F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82238F
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82238F#FFFFFF#000000##FFFFFF
##82238F1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#34538C
Tritanopia (blue-blind)
#843757
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #82238f;
/* rgb */ color: rgb(130, 35, 143);
/* oklch */ color: oklch(45.3% 0.181 322.6);
Tailwind
colors: {
  custom: {
    50: '#aa69b0',
    500: '#82238f',
    950: '#000000',
  },
}
SCSS
$custom: #82238f;
$custom-light: #aa69b0;
$custom-dark: #000000;
JSON
{
  "hex": "#82238f",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 292.778,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.45334,
    "c": 0.18073,
    "h": 322.6
  },
  "luminance": 0.07931
}

Semantic roles & 50–950 ramp

primary
#82238F
secondary
#60BA54
accent
#E44457
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82238F

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

Preview Lab → · Contrast checker → · Palette generator →

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