#8D30C2#8D30C2

#8D30C2 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.6% C 0.217 H 309.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8D30C2
RGBrgb(141, 48, 194)
HSLhsl(278, 60%, 47%)
HSVhsv(278, 75%, 76%)
CMYKcmyk(27.3%, 75.3%, 0%, 23.9%)
CIE-LABlab(40.69, 61.60, -58.72)
CIE-LCHlch(40.69, 85.11, 316.37°)
OKLaboklab(51.64% 0.1385 -0.1665)
OKLCHoklch(51.64% 0.217 309.8)
XYZxyz(21.7771, 11.6721, 52.1342)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30C2 #65C230
analogous
#4430C2 #8D30C2 #C230AE
triadic
#8D30C2 #C28D30 #30C28D
tetradic
#8D30C2 #C24430 #65C230 #30AEC2
square
#8D30C2 #C24430 #65C230 #30AEC2
split-complementary
#8D30C2 #AEC230 #30C244
monochromatic
#461860 #692491 #8D30C2 #A959D6 #C28AE2

Accessibility & contrast

On white

6.30
#8D30C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8D30C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30C2
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30C2#FFFFFF#000000##FFFFFF
##8D30C21.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC6
Deuteranopia (green-blind)
#0161BF
Tritanopia (blue-blind)
#855377
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8d30c2;
/* rgb */ color: rgb(141, 48, 194);
/* oklch */ color: oklch(51.6% 0.217 309.8);
Tailwind
colors: {
  custom: {
    50: '#b372d5',
    500: '#8d30c2',
    950: '#000000',
  },
}
SCSS
$custom: #8d30c2;
$custom-light: #b372d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30c2",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 278.219,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.51635,
    "c": 0.21661,
    "h": 309.8
  },
  "luminance": 0.11672
}

Semantic roles & 50–950 ramp

primary
#8D30C2
secondary
#9DCC82
accent
#E3447E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8D30C2

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

Preview Lab → · Contrast checker → · Palette generator →

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