#8D23B5#8D23B5

#8D23B5 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.6% C 0.218 H 314.3°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#8D23B5
RGBrgb(141, 35, 181)
HSLhsl(284, 68%, 42%)
HSVhsv(284, 81%, 71%)
CMYKcmyk(22.1%, 80.7%, 0%, 29%)
CIE-LABlab(38.20, 63.39, -55.11)
CIE-LCHlch(38.20, 84.00, 319.00°)
OKLaboklab(49.59% 0.1518 -0.1558)
OKLCHoklch(49.59% 0.218 314.3)
XYZxyz(19.9246, 10.2017, 44.6267)
Luminance0.1020 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D23B5 #4BB523
analogous
#4423B5 #8D23B5 #B52394
triadic
#8D23B5 #B58D23 #23B58D
tetradic
#8D23B5 #B54423 #4BB523 #2394B5
square
#8D23B5 #B54423 #4BB523 #2394B5
split-complementary
#8D23B5 #94B523 #23B544
monochromatic
#3D0F4E #651982 #8D23B5 #AE3CD9 #C36FE3

Accessibility & contrast

On white

6.91
#8D23B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#8D23B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D23B5
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D23B5#FFFFFF#000000##FFFFFF
##8D23B51.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B9
Deuteranopia (green-blind)
#145CB2
Tritanopia (blue-blind)
#89476D
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d23b5;
/* rgb */ color: rgb(141, 35, 181);
/* oklch */ color: oklch(49.6% 0.218 314.3);
Tailwind
colors: {
  custom: {
    50: '#b36ccc',
    500: '#8d23b5',
    950: '#000000',
  },
}
SCSS
$custom: #8d23b5;
$custom-light: #b36ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d23b5",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 181
  },
  "hsl": {
    "h": 283.562,
    "s": 67.593,
    "l": 42.353
  },
  "oklch": {
    "l": 0.49588,
    "c": 0.21755,
    "h": 314.3
  },
  "luminance": 0.10201
}

Semantic roles & 50–950 ramp

primary
#8D23B5
secondary
#84CA6A
accent
#EA3D6D
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #8D23B5

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

Preview Lab → · Contrast checker → · Palette generator →

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