#8D23B2#8D23B2

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

Color values

HEX#8D23B2
RGBrgb(141, 35, 178)
HSLhsl(284, 67%, 42%)
HSVhsv(284, 80%, 70%)
CMYKcmyk(20.8%, 80.3%, 0%, 30.2%)
CIE-LABlab(37.99, 62.80, -53.68)
CIE-LCHlch(37.99, 82.62, 319.48°)
OKLaboklab(49.37% 0.1524 -0.1516)
OKLCHoklch(49.37% 0.215 315.1)
XYZxyz(19.6201, 10.0799, 43.0230)
Luminance0.1008 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D23B2 #48B223
analogous
#4623B2 #8D23B2 #B2238F
triadic
#8D23B2 #B28D23 #23B28D
tetradic
#8D23B2 #B24623 #48B223 #238FB2
square
#8D23B2 #B24623 #48B223 #238FB2
split-complementary
#8D23B2 #8FB223 #23B246
monochromatic
#3C0F4C #64197F #8D23B2 #AF3AD8 #C46DE2

Accessibility & contrast

On white

6.96
#8D23B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D23B2
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D23B2#FFFFFF#000000##FFFFFF
##8D23B21.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B6
Deuteranopia (green-blind)
#1B5CAF
Tritanopia (blue-blind)
#8A466B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #8d23b2;
/* rgb */ color: rgb(141, 35, 178);
/* oklch */ color: oklch(49.4% 0.215 315.1);
Tailwind
colors: {
  custom: {
    50: '#b36cca',
    500: '#8d23b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d23b2;
$custom-light: #b36cca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d23b2",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 178
  },
  "hsl": {
    "h": 284.476,
    "s": 67.136,
    "l": 41.765
  },
  "oklch": {
    "l": 0.49368,
    "c": 0.21498,
    "h": 315.1
  },
  "luminance": 0.10079
}

Semantic roles & 50–950 ramp

primary
#8D23B2
secondary
#81C968
accent
#EA3E6A
background
#FBF6FC
surface
#F6ECF8
border
#D0C7D1
text
#120813
muted
#817A82

Preview Lab

Preview with #8D23B2

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

Preview Lab → · Contrast checker → · Palette generator →

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