#8D23AF#8D23AF

#8D23AF is a mid, highly saturated purple. Relative luminance 0.100; OKLCH L 49.2% C 0.212 H 316.1°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#8D23AF
RGBrgb(141, 35, 175)
HSLhsl(285, 67%, 41%)
HSVhsv(285, 80%, 69%)
CMYKcmyk(19.4%, 80%, 0%, 31.4%)
CIE-LABlab(37.77, 62.22, -52.24)
CIE-LCHlch(37.77, 81.25, 319.98°)
OKLaboklab(49.15% 0.153 -0.1474)
OKLCHoklch(49.15% 0.212 316.1)
XYZxyz(19.3222, 9.9607, 41.4539)
Luminance0.0996 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D23AF #45AF23
analogous
#4723AF #8D23AF #AF238B
triadic
#8D23AF #AF8D23 #23AF8D
tetradic
#8D23AF #AF4723 #45AF23 #238BAF
square
#8D23AF #AF4723 #45AF23 #238BAF
split-complementary
#8D23AF #8BAF23 #23AF47
monochromatic
#3B0F49 #64197C #8D23AF #B138D7 #C56BE1

Accessibility & contrast

On white

7.02
#8D23AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#8D23AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8D23AF
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D23AF#FFFFFF#000000##FFFFFF
##8D23AF1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#205CAC
Tritanopia (blue-blind)
#8B446A
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d23af;
/* rgb */ color: rgb(141, 35, 175);
/* oklch */ color: oklch(49.2% 0.212 316.1);
Tailwind
colors: {
  custom: {
    50: '#b36cc8',
    500: '#8d23af',
    950: '#000000',
  },
}
SCSS
$custom: #8d23af;
$custom-light: #b36cc8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d23af",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 175
  },
  "hsl": {
    "h": 285.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49151,
    "c": 0.21242,
    "h": 316.1
  },
  "luminance": 0.0996
}

Semantic roles & 50–950 ramp

primary
#8D23AF
secondary
#7EC766
accent
#EA3E68
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8D23AF

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

Preview Lab → · Contrast checker → · Palette generator →

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