#8D23D4#8D23D4

#8D23D4 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 52.0% C 0.244 H 306.1°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8D23D4
RGBrgb(141, 35, 212)
HSLhsl(276, 72%, 48%)
HSVhsv(276, 83%, 83%)
CMYKcmyk(33.5%, 83.5%, 0%, 16.9%)
CIE-LABlab(40.60, 69.69, -69.31)
CIE-LCHlch(40.60, 98.29, 315.16°)
OKLaboklab(52.01% 0.1439 -0.1975)
OKLCHoklch(52.01% 0.244 306.1)
XYZxyz(23.4665, 11.6185, 63.2809)
Luminance0.1162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D23D4 #6AD423
analogous
#3423D4 #8D23D4 #D423C2
triadic
#8D23D4 #D48D23 #23D48D
tetradic
#8D23D4 #D43423 #6AD423 #23C2D4
square
#8D23D4 #D43423 #6AD423 #23C2D4
split-complementary
#8D23D4 #C2D423 #23D434
monochromatic
#47126B #6A1A9F #8D23D4 #A852E2 #C386EB

Accessibility & contrast

On white

6.32
#8D23D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8D23D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D23D4
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D23D4#FFFFFF#000000##FFFFFF
##8D23D41.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD9
Deuteranopia (green-blind)
#0060D1
Tritanopia (blue-blind)
#80557F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d23d4;
/* rgb */ color: rgb(141, 35, 212);
/* oklch */ color: oklch(52.0% 0.244 306.1);
Tailwind
colors: {
  custom: {
    50: '#b56ee2',
    500: '#8d23d4',
    950: '#000000',
  },
}
SCSS
$custom: #8d23d4;
$custom-light: #b56ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d23d4",
  "rgb": {
    "r": 141,
    "g": 35,
    "b": 212
  },
  "hsl": {
    "h": 275.932,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52008,
    "c": 0.2444,
    "h": 306.1
  },
  "luminance": 0.11618
}

Semantic roles & 50–950 ramp

primary
#8D23D4
secondary
#A1D47E
accent
#EE3982
background
#FBF7FE
surface
#F7EDFC
border
#D0C8D5
text
#120816
muted
#817B84

Preview Lab

Preview with #8D23D4

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

Preview Lab → · Contrast checker → · Palette generator →

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