#82238C#82238C

#82238C is a mid, vivid purple. Relative luminance 0.078; OKLCH L 45.1% C 0.178 H 323.8°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#82238C
RGBrgb(130, 35, 140)
HSLhsl(294, 60%, 34%)
HSVhsv(294, 75%, 55%)
CMYKcmyk(7.1%, 75%, 0%, 45.1%)
CIE-LABlab(33.65, 53.39, -37.76)
CIE-LCHlch(33.65, 65.40, 324.73°)
OKLaboklab(45.14% 0.1437 -0.1053)
OKLCHoklch(45.14% 0.178 323.8)
XYZxyz(14.5402, 7.8422, 25.5537)
Luminance0.0784 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#82238C #2D8C23
analogous
#4E238C #82238C #8C2362
triadic
#82238C #8C8223 #238C82
tetradic
#82238C #8C4E23 #2D8C23 #23628C
square
#82238C #8C4E23 #2D8C23 #23628C
split-complementary
#82238C #628C23 #238C4E
monochromatic
#270B2A #55175B #82238C #AF2FBD #C855D4

Accessibility & contrast

On white

8.18
#82238C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #82238C
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##82238C#FFFFFF#000000##FFFFFF
##82238C1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#36538A
Tritanopia (blue-blind)
#843656
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #82238c;
/* rgb */ color: rgb(130, 35, 140);
/* oklch */ color: oklch(45.1% 0.178 323.8);
Tailwind
colors: {
  custom: {
    50: '#aa68ae',
    500: '#82238c',
    950: '#000000',
  },
}
SCSS
$custom: #82238c;
$custom-light: #aa68ae;
$custom-dark: #000000;
JSON
{
  "hex": "#82238c",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 140
  },
  "hsl": {
    "h": 294.286,
    "s": 60,
    "l": 34.314
  },
  "oklch": {
    "l": 0.45139,
    "c": 0.17816,
    "h": 323.8
  },
  "luminance": 0.07841
}

Semantic roles & 50–950 ramp

primary
#82238C
secondary
#5CB852
accent
#E34554
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100710
muted
#7F7A7F

Preview Lab

Preview with #82238C

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

Preview Lab → · Contrast checker → · Palette generator →

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