#8C239B#8C239B

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

Color values

HEX#8C239B
RGBrgb(140, 35, 155)
HSLhsl(293, 63%, 37%)
HSVhsv(293, 77%, 61%)
CMYKcmyk(9.7%, 77.4%, 0%, 39.2%)
CIE-LABlab(36.26, 58.27, -42.67)
CIE-LCHlch(36.26, 72.22, 323.79°)
OKLaboklab(47.62% 0.1545 -0.1193)
OKLCHoklch(47.62% 0.195 322.3)
XYZxyz(17.3320, 9.1451, 31.8563)
Luminance0.0914 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C239B #329B23
analogous
#50239B #8C239B #9B236E
triadic
#8C239B #9B8C23 #239B8C
tetradic
#8C239B #9B5023 #329B23 #236E9B
square
#8C239B #9B5023 #329B23 #236E9B
split-complementary
#8C239B #6E9B23 #239B50
monochromatic
#320C37 #5F1869 #8C239B #B92ECD #CB5EDB

Accessibility & contrast

On white

7.42
#8C239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#8C239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C239B
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C239B#FFFFFF#000000##FFFFFF
##8C239B1.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9E
Deuteranopia (green-blind)
#355998
Tritanopia (blue-blind)
#8E3B5E
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8c239b;
/* rgb */ color: rgb(140, 35, 155);
/* oklch */ color: oklch(47.6% 0.195 322.3);
Tailwind
colors: {
  custom: {
    50: '#b16ab9',
    500: '#8c239b',
    950: '#000000',
  },
}
SCSS
$custom: #8c239b;
$custom-light: #b16ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c239b",
  "rgb": {
    "r": 140,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 292.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.47624,
    "c": 0.19519,
    "h": 322.3
  },
  "luminance": 0.09144
}

Semantic roles & 50–950 ramp

primary
#8C239B
secondary
#67BF5A
accent
#E64256
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C239B

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

Preview Lab → · Contrast checker → · Palette generator →

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