#8D30C5#8D30C5

#8D30C5 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.9% C 0.219 H 309.0°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#8D30C5
RGBrgb(141, 48, 197)
HSLhsl(277, 61%, 48%)
HSVhsv(277, 76%, 77%)
CMYKcmyk(28.4%, 75.6%, 0%, 22.7%)
CIE-LABlab(40.91, 62.24, -60.12)
CIE-LCHlch(40.91, 86.53, 315.99°)
OKLaboklab(51.86% 0.138 -0.1706)
OKLCHoklch(51.86% 0.219 309)
XYZxyz(22.1174, 11.8082, 53.9266)
Luminance0.1181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30C5 #68C530
analogous
#4330C5 #8D30C5 #C530B2
triadic
#8D30C5 #C58D30 #30C58D
tetradic
#8D30C5 #C54330 #68C530 #30B2C5
square
#8D30C5 #C54330 #68C530 #30B2C5
split-complementary
#8D30C5 #B2C530 #30C543
monochromatic
#471863 #6A2494 #8D30C5 #A85BD7 #C28CE3

Accessibility & contrast

On white

6.25
#8D30C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8D30C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30C5
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30C5#FFFFFF#000000##FFFFFF
##8D30C51.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC9
Deuteranopia (green-blind)
#0062C2
Tritanopia (blue-blind)
#845479
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d30c5;
/* rgb */ color: rgb(141, 48, 197);
/* oklch */ color: oklch(51.9% 0.219 309.0);
Tailwind
colors: {
  custom: {
    50: '#b372d7',
    500: '#8d30c5',
    950: '#000000',
  },
}
SCSS
$custom: #8d30c5;
$custom-light: #b372d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30c5",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 197
  },
  "hsl": {
    "h": 277.45,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.51859,
    "c": 0.21942,
    "h": 309
  },
  "luminance": 0.11808
}

Semantic roles & 50–950 ramp

primary
#8D30C5
secondary
#9FCD84
accent
#E44480
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120915
muted
#817B83

Preview Lab

Preview with #8D30C5

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

Preview Lab → · Contrast checker → · Palette generator →

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