#8C239C#8C239C

#8C239C is a mid, vivid purple. Relative luminance 0.092; OKLCH L 47.7% C 0.196 H 321.9°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#8C239C
RGBrgb(140, 35, 156)
HSLhsl(292, 63%, 37%)
HSVhsv(292, 78%, 61%)
CMYKcmyk(10.3%, 77.6%, 0%, 38.8%)
CIE-LABlab(36.33, 58.45, -43.17)
CIE-LCHlch(36.33, 72.66, 323.55°)
OKLaboklab(47.69% 0.1544 -0.1208)
OKLCHoklch(47.69% 0.196 321.9)
XYZxyz(17.4164, 9.1788, 32.3004)
Luminance0.0918 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C239C #339C23
analogous
#4F239C #8C239C #9C2370
triadic
#8C239C #9C8C23 #239C8C
tetradic
#8C239C #9C4F23 #339C23 #23709C
square
#8C239C #9C4F23 #339C23 #23709C
split-complementary
#8C239C #709C23 #239C4F
monochromatic
#320D38 #5F186A #8C239C #B92ECE #CB5EDB

Accessibility & contrast

On white

7.41
#8C239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#8C239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C239C
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C239C#FFFFFF#000000##FFFFFF
##8C239C1.007.412.847.41
#FFFFFF7.411.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9F
Deuteranopia (green-blind)
#355999
Tritanopia (blue-blind)
#8E3B5F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #8c239c;
/* rgb */ color: rgb(140, 35, 156);
/* oklch */ color: oklch(47.7% 0.196 321.9);
Tailwind
colors: {
  custom: {
    50: '#b16bba',
    500: '#8c239c',
    950: '#000000',
  },
}
SCSS
$custom: #8c239c;
$custom-light: #b16bba;
$custom-dark: #000000;
JSON
{
  "hex": "#8c239c",
  "rgb": {
    "r": 140,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 292.066,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.4769,
    "c": 0.19602,
    "h": 321.9
  },
  "luminance": 0.09178
}

Semantic roles & 50–950 ramp

primary
#8C239C
secondary
#68C05B
accent
#E64157
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110712
muted
#807A81

Preview Lab

Preview with #8C239C

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

Preview Lab → · Contrast checker → · Palette generator →

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