#8D30C7#8D30C7

#8D30C7 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.0% C 0.221 H 308.4°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8D30C7
RGBrgb(141, 48, 199)
HSLhsl(277, 61%, 48%)
HSVhsv(277, 76%, 78%)
CMYKcmyk(29.1%, 75.9%, 0%, 22%)
CIE-LABlab(41.06, 62.67, -61.04)
CIE-LCHlch(41.06, 87.48, 315.75°)
OKLaboklab(52.01% 0.1376 -0.1733)
OKLCHoklch(52.01% 0.221 308.4)
XYZxyz(22.3481, 11.9005, 55.1415)
Luminance0.1190 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30C7 #6AC730
analogous
#4230C7 #8D30C7 #C730B5
triadic
#8D30C7 #C78D30 #30C78D
tetradic
#8D30C7 #C74230 #6AC730 #30B5C7
square
#8D30C7 #C74230 #6AC730 #30B5C7
split-complementary
#8D30C7 #B5C730 #30C742
monochromatic
#471864 #6A2496 #8D30C7 #A85CD8 #C38EE4

Accessibility & contrast

On white

6.21
#8D30C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#8D30C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30C7
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30C7#FFFFFF#000000##FFFFFF
##8D30C71.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0062C4
Tritanopia (blue-blind)
#84557A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8d30c7;
/* rgb */ color: rgb(141, 48, 199);
/* oklch */ color: oklch(52.0% 0.221 308.4);
Tailwind
colors: {
  custom: {
    50: '#b472d9',
    500: '#8d30c7',
    950: '#000000',
  },
}
SCSS
$custom: #8d30c7;
$custom-light: #b472d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30c7",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 276.954,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52009,
    "c": 0.22128,
    "h": 308.4
  },
  "luminance": 0.119
}

Semantic roles & 50–950 ramp

primary
#8D30C7
secondary
#A1CE85
accent
#E44481
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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