#8C23BF#8C23BF

#8C23BF is a mid, highly saturated purple. Relative luminance 0.105; OKLCH L 50.2% C 0.226 H 311.0°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#8C23BF
RGBrgb(140, 35, 191)
HSLhsl(280, 69%, 44%)
HSVhsv(280, 82%, 75%)
CMYKcmyk(26.7%, 81.7%, 0%, 25.1%)
CIE-LABlab(38.79, 65.22, -60.05)
CIE-LCHlch(38.79, 88.65, 317.36°)
OKLaboklab(50.21% 0.1483 -0.1704)
OKLCHoklch(50.21% 0.226 311)
XYZxyz(20.8184, 10.5396, 50.2178)
Luminance0.1054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C23BF #56BF23
analogous
#3E23BF #8C23BF #BF23A4
triadic
#8C23BF #BF8C23 #23BF8C
tetradic
#8C23BF #BF3E23 #56BF23 #23A4BF
square
#8C23BF #BF3E23 #56BF23 #23A4BF
split-complementary
#8C23BF #A4BF23 #23BF3E
monochromatic
#401058 #661A8B #8C23BF #AA43DC #C276E6

Accessibility & contrast

On white

6.76
#8C23BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8C23BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C23BF
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C23BF#FFFFFF#000000##FFFFFF
##8C23BF1.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#005DBC
Tritanopia (blue-blind)
#854C73
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8c23bf;
/* rgb */ color: rgb(140, 35, 191);
/* oklch */ color: oklch(50.2% 0.226 311.0);
Tailwind
colors: {
  custom: {
    50: '#b36cd3',
    500: '#8c23bf',
    950: '#000000',
  },
}
SCSS
$custom: #8c23bf;
$custom-light: #b36cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c23bf",
  "rgb": {
    "r": 140,
    "g": 35,
    "b": 191
  },
  "hsl": {
    "h": 280.385,
    "s": 69.027,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50205,
    "c": 0.22587,
    "h": 311
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#8C23BF
secondary
#8FCD70
accent
#EC3C75
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #8C23BF

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

Preview Lab → · Contrast checker → · Palette generator →

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