#82238E#82238E

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

Color values

HEX#82238E
RGBrgb(130, 35, 142)
HSLhsl(293, 60%, 35%)
HSVhsv(293, 75%, 56%)
CMYKcmyk(8.5%, 75.4%, 0%, 44.3%)
CIE-LABlab(33.78, 53.76, -38.79)
CIE-LCHlch(33.78, 66.30, 324.19°)
OKLaboklab(45.27% 0.1436 -0.1083)
OKLCHoklch(45.27% 0.18 323)
XYZxyz(14.6890, 7.9018, 26.3374)
Luminance0.0790 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82238E #2F8E23
analogous
#4D238E #82238E #8E2365
triadic
#82238E #8E8223 #238E82
tetradic
#82238E #8E4D23 #2F8E23 #23658E
square
#82238E #8E4D23 #2F8E23 #23658E
split-complementary
#82238E #658E23 #238E4D
monochromatic
#280B2C #55175D #82238E #AF2FBF #C756D5

Accessibility & contrast

On white

8.14
#82238E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#82238E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #82238E
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82238E#FFFFFF#000000##FFFFFF
##82238E1.008.142.588.14
#FFFFFF8.141.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#34538B
Tritanopia (blue-blind)
#843757
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #82238e;
/* rgb */ color: rgb(130, 35, 142);
/* oklch */ color: oklch(45.3% 0.180 323.0);
Tailwind
colors: {
  custom: {
    50: '#aa69af',
    500: '#82238e',
    950: '#000000',
  },
}
SCSS
$custom: #82238e;
$custom-light: #aa69af;
$custom-dark: #000000;
JSON
{
  "hex": "#82238e",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 142
  },
  "hsl": {
    "h": 293.271,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45269,
    "c": 0.17987,
    "h": 323
  },
  "luminance": 0.07901
}

Semantic roles & 50–950 ramp

primary
#82238E
secondary
#5FB953
accent
#E44456
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82238E

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

Preview Lab → · Contrast checker → · Palette generator →

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