#8D30D3#8D30D3

#8D30D3 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.9% C 0.233 H 305.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8D30D3
RGBrgb(141, 48, 211)
HSLhsl(274, 65%, 51%)
HSVhsv(274, 77%, 83%)
CMYKcmyk(33.2%, 77.3%, 0%, 17.3%)
CIE-LABlab(41.97, 65.27, -66.51)
CIE-LCHlch(41.97, 93.18, 314.46°)
OKLaboklab(52.93% 0.1349 -0.1894)
OKLCHoklch(52.93% 0.233 305.5)
XYZxyz(23.7967, 12.4799, 62.7706)
Luminance0.1248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30D3 #76D330
analogous
#3B30D3 #8D30D3 #D330C7
triadic
#8D30D3 #D38D30 #30D38D
tetradic
#8D30D3 #D33B30 #76D330 #30C7D3
square
#8D30D3 #D33B30 #76D330 #30C7D3
split-complementary
#8D30D3 #C7D330 #30D33B
monochromatic
#4B1871 #6C23A3 #8D30D3 #A962DE #C595E8

Accessibility & contrast

On white

6.01
#8D30D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8D30D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30D3
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30D3#FFFFFF#000000##FFFFFF
##8D30D31.006.013.506.01
#FFFFFF6.011.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0063D0
Tritanopia (blue-blind)
#805A81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d30d3;
/* rgb */ color: rgb(141, 48, 211);
/* oklch */ color: oklch(52.9% 0.233 305.5);
Tailwind
colors: {
  custom: {
    50: '#b473e2',
    500: '#8d30d3',
    950: '#000000',
  },
}
SCSS
$custom: #8d30d3;
$custom-light: #b473e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30d3",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 211
  },
  "hsl": {
    "h": 274.233,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52934,
    "c": 0.23254,
    "h": 305.5
  },
  "luminance": 0.1248
}

Semantic roles & 50–950 ramp

primary
#8D30D3
secondary
#AAD48B
accent
#E84088
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120915
muted
#817B84

Preview Lab

Preview with #8D30D3

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

Preview Lab → · Contrast checker → · Palette generator →

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