#8D23B4#8D23B4

#8D23B4 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.217 H 314.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8D23B4
RGBrgb(141, 35, 180)
HSLhsl(284, 67%, 42%)
HSVhsv(284, 81%, 71%)
CMYKcmyk(21.7%, 80.6%, 0%, 29.4%)
CIE-LABlab(38.13, 63.20, -54.64)
CIE-LCHlch(38.13, 83.54, 319.15°)
OKLaboklab(49.51% 0.152 -0.1544)
OKLCHoklch(49.51% 0.217 314.5)
XYZxyz(19.8224, 10.1608, 44.0882)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D23B4 #4AB423
analogous
#4423B4 #8D23B4 #B42393
triadic
#8D23B4 #B48D23 #23B48D
tetradic
#8D23B4 #B44423 #4AB423 #2393B4
square
#8D23B4 #B44423 #4AB423 #2393B4
split-complementary
#8D23B4 #93B423 #23B444
monochromatic
#3D0F4E #651981 #8D23B4 #AF3BD9 #C46EE3

Accessibility & contrast

On white

6.93
#8D23B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8D23B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D23B4
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D23B4#FFFFFF#000000##FFFFFF
##8D23B41.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#165CB1
Tritanopia (blue-blind)
#89476D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d23b4;
/* rgb */ color: rgb(141, 35, 180);
/* oklch */ color: oklch(49.5% 0.217 314.5);
Tailwind
colors: {
  custom: {
    50: '#b36ccb',
    500: '#8d23b4',
    950: '#000000',
  },
}
SCSS
$custom: #8d23b4;
$custom-light: #b36ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d23b4",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 180
  },
  "hsl": {
    "h": 283.862,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.49514,
    "c": 0.21669,
    "h": 314.5
  },
  "luminance": 0.1016
}

Semantic roles & 50–950 ramp

primary
#8D23B4
secondary
#83C969
accent
#EA3D6C
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #8D23B4

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

Preview Lab → · Contrast checker → · Palette generator →

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