#8C239A#8C239A

#8C239A is a mid, vivid purple. Relative luminance 0.091; OKLCH L 47.6% C 0.194 H 322.7°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#8C239A
RGBrgb(140, 35, 154)
HSLhsl(293, 63%, 37%)
HSVhsv(293, 77%, 60%)
CMYKcmyk(9.1%, 77.3%, 0%, 39.6%)
CIE-LABlab(36.20, 58.09, -42.16)
CIE-LCHlch(36.20, 71.77, 324.03°)
OKLaboklab(47.56% 0.1545 -0.1179)
OKLCHoklch(47.56% 0.194 322.7)
XYZxyz(17.2484, 9.1116, 31.4158)
Luminance0.0911 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C239A #319A23
analogous
#51239A #8C239A #9A236D
triadic
#8C239A #9A8C23 #239A8C
tetradic
#8C239A #9A5123 #319A23 #236D9A
square
#8C239A #9A5123 #319A23 #236D9A
split-complementary
#8C239A #6D9A23 #239A51
monochromatic
#310C36 #5F1868 #8C239A #B92ECC #CC5DDA

Accessibility & contrast

On white

7.44
#8C239A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#8C239A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C239A
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C239A#FFFFFF#000000##FFFFFF
##8C239A1.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9D
Deuteranopia (green-blind)
#365997
Tritanopia (blue-blind)
#8E3A5E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8c239a;
/* rgb */ color: rgb(140, 35, 154);
/* oklch */ color: oklch(47.6% 0.194 322.7);
Tailwind
colors: {
  custom: {
    50: '#b16ab8',
    500: '#8c239a',
    950: '#000000',
  },
}
SCSS
$custom: #8c239a;
$custom-light: #b16ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#8c239a",
  "rgb": {
    "r": 140,
    "g": 35,
    "b": 154
  },
  "hsl": {
    "h": 292.941,
    "s": 62.963,
    "l": 37.059
  },
  "oklch": {
    "l": 0.47559,
    "c": 0.19435,
    "h": 322.7
  },
  "luminance": 0.09111
}

Semantic roles & 50–950 ramp

primary
#8C239A
secondary
#66BF5A
accent
#E64255
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C239A

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

Preview Lab → · Contrast checker → · Palette generator →

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