#8D23B3#8D23B3

#8D23B3 is a mid, highly saturated purple. Relative luminance 0.101; OKLCH L 49.4% C 0.216 H 314.8°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#8D23B3
RGBrgb(141, 35, 179)
HSLhsl(284, 67%, 42%)
HSVhsv(284, 80%, 70%)
CMYKcmyk(21.2%, 80.4%, 0%, 29.8%)
CIE-LABlab(38.06, 63.00, -54.16)
CIE-LCHlch(38.06, 83.08, 319.31°)
OKLaboklab(49.44% 0.1522 -0.153)
OKLCHoklch(49.44% 0.216 314.8)
XYZxyz(19.7209, 10.1202, 43.5537)
Luminance0.1012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D23B3 #49B323
analogous
#4523B3 #8D23B3 #B32391
triadic
#8D23B3 #B38D23 #23B38D
tetradic
#8D23B3 #B34523 #49B323 #2391B3
square
#8D23B3 #B34523 #49B323 #2391B3
split-complementary
#8D23B3 #91B323 #23B345
monochromatic
#3C0F4D #651980 #8D23B3 #AF3BD9 #C46EE3

Accessibility & contrast

On white

6.94
#8D23B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#8D23B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D23B3
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D23B3#FFFFFF#000000##FFFFFF
##8D23B31.006.943.026.94
#FFFFFF6.941.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#195CB0
Tritanopia (blue-blind)
#8A466C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8d23b3;
/* rgb */ color: rgb(141, 35, 179);
/* oklch */ color: oklch(49.4% 0.216 314.8);
Tailwind
colors: {
  custom: {
    50: '#b36ccb',
    500: '#8d23b3',
    950: '#000000',
  },
}
SCSS
$custom: #8d23b3;
$custom-light: #b36ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d23b3",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 179
  },
  "hsl": {
    "h": 284.167,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.49441,
    "c": 0.21583,
    "h": 314.8
  },
  "luminance": 0.10119
}

Semantic roles & 50–950 ramp

primary
#8D23B3
secondary
#82C969
accent
#EA3E6B
background
#FBF6FC
surface
#F6ECF9
border
#D0C7D2
text
#120813
muted
#817A82

Preview Lab

Preview with #8D23B3

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

Preview Lab → · Contrast checker → · Palette generator →

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