#8D30C0#8D30C0

#8D30C0 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.5% C 0.215 H 310.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8D30C0
RGBrgb(141, 48, 192)
HSLhsl(279, 60%, 47%)
HSVhsv(279, 75%, 75%)
CMYKcmyk(26.6%, 75%, 0%, 24.7%)
CIE-LABlab(40.55, 61.18, -57.79)
CIE-LCHlch(40.55, 84.16, 316.63°)
OKLaboklab(51.49% 0.1389 -0.1638)
OKLCHoklch(51.49% 0.215 310.3)
XYZxyz(21.5540, 11.5829, 50.9592)
Luminance0.1158 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30C0 #63C030
analogous
#4530C0 #8D30C0 #C030AB
triadic
#8D30C0 #C08D30 #30C08D
tetradic
#8D30C0 #C04530 #63C030 #30ABC0
square
#8D30C0 #C04530 #63C030 #30ABC0
split-complementary
#8D30C0 #ABC030 #30C045
monochromatic
#45185E #69248F #8D30C0 #A958D5 #C289E1

Accessibility & contrast

On white

6.33
#8D30C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D30C0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30C0#FFFFFF#000000##FFFFFF
##8D30C01.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC4
Deuteranopia (green-blind)
#0A61BD
Tritanopia (blue-blind)
#865276
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d30c0;
/* rgb */ color: rgb(141, 48, 192);
/* oklch */ color: oklch(51.5% 0.215 310.3);
Tailwind
colors: {
  custom: {
    50: '#b372d4',
    500: '#8d30c0',
    950: '#000000',
  },
}
SCSS
$custom: #8d30c0;
$custom-light: #b372d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30c0",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 192
  },
  "hsl": {
    "h": 278.75,
    "s": 60,
    "l": 47.059
  },
  "oklch": {
    "l": 0.51487,
    "c": 0.21473,
    "h": 310.3
  },
  "luminance": 0.11582
}

Semantic roles & 50–950 ramp

primary
#8D30C0
secondary
#9BCB80
accent
#E3457D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8D30C0

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

Preview Lab → · Contrast checker → · Palette generator →

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