#8A2383#8A2383

#8A2383 is a mid, vivid purple. Relative luminance 0.082; OKLCH L 45.8% C 0.175 H 331.0°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#8A2383
RGBrgb(138, 35, 131)
HSLhsl(304, 60%, 34%)
HSVhsv(304, 75%, 54%)
CMYKcmyk(0%, 74.6%, 5.1%, 45.9%)
CIE-LABlab(34.49, 53.65, -30.77)
CIE-LCHlch(34.49, 61.85, 330.16°)
OKLaboklab(45.83% 0.1529 -0.0848)
OKLCHoklch(45.83% 0.175 331)
XYZxyz(15.1790, 8.2452, 22.2604)
Luminance0.0824 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A2383 #238A2A
analogous
#5E238A #8A2383 #8A2350
triadic
#8A2383 #838A23 #23838A
tetradic
#8A2383 #8A5E23 #238A2A #23508A
square
#8A2383 #8A5E23 #238A2A #23508A
split-complementary
#8A2383 #508A23 #238A5E
monochromatic
#280A26 #591755 #8A2383 #BB2FB1 #D454CB

Accessibility & contrast

On white

7.93
#8A2383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#8A2383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8A2383
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A2383#FFFFFF#000000##FFFFFF
##8A23831.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194886
Deuteranopia (green-blind)
#435680
Tritanopia (blue-blind)
#903051
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #8a2383;
/* rgb */ color: rgb(138, 35, 131);
/* oklch */ color: oklch(45.8% 0.175 331.0);
Tailwind
colors: {
  custom: {
    50: '#b069a7',
    500: '#8a2383',
    950: '#000000',
  },
}
SCSS
$custom: #8a2383;
$custom-light: #b069a7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a2383",
  "rgb": {
    "r": 138,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 304.078,
    "s": 59.538,
    "l": 33.922
  },
  "oklch": {
    "l": 0.45832,
    "c": 0.17481,
    "h": 331
  },
  "luminance": 0.08244
}

Semantic roles & 50–950 ramp

primary
#8A2383
secondary
#51B758
accent
#E35045
background
#FBF6FA
surface
#F6EBF4
border
#D0C6CE
text
#11070F
muted
#807A7F

Preview Lab

Preview with #8A2383

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

Preview Lab → · Contrast checker → · Palette generator →

#8A2383 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva