#8D30C9#8D30C9

#8D30C9 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.2% C 0.223 H 307.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#8D30C9
RGBrgb(141, 48, 201)
HSLhsl(276, 61%, 49%)
HSVhsv(276, 76%, 79%)
CMYKcmyk(29.9%, 76.1%, 0%, 21.2%)
CIE-LABlab(41.21, 63.10, -61.96)
CIE-LCHlch(41.21, 88.44, 315.52°)
OKLaboklab(52.16% 0.1372 -0.176)
OKLCHoklch(52.16% 0.223 307.9)
XYZxyz(22.5819, 11.9940, 56.3725)
Luminance0.1199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30C9 #6CC930
analogous
#4130C9 #8D30C9 #C930B9
triadic
#8D30C9 #C98D30 #30C98D
tetradic
#8D30C9 #C94130 #6CC930 #30B9C9
square
#8D30C9 #C94130 #6CC930 #30B9C9
split-complementary
#8D30C9 #B9C930 #30C941
monochromatic
#481866 #6A2498 #8D30C9 #A85ED8 #C38FE4

Accessibility & contrast

On white

6.18
#8D30C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8D30C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30C9
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30C9#FFFFFF#000000##FFFFFF
##8D30C91.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#83567B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d30c9;
/* rgb */ color: rgb(141, 48, 201);
/* oklch */ color: oklch(52.2% 0.223 307.9);
Tailwind
colors: {
  custom: {
    50: '#b472da',
    500: '#8d30c9',
    950: '#000000',
  },
}
SCSS
$custom: #8d30c9;
$custom-light: #b472da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30c9",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 276.471,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.52161,
    "c": 0.22316,
    "h": 307.9
  },
  "luminance": 0.11994
}

Semantic roles & 50–950 ramp

primary
#8D30C9
secondary
#A3CF86
accent
#E54383
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D30C9

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

Preview Lab → · Contrast checker → · Palette generator →

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