#8D30BC#8D30BC

#8D30BC is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.211 H 311.4°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#8D30BC
RGBrgb(141, 48, 188)
HSLhsl(280, 59%, 46%)
HSVhsv(280, 74%, 74%)
CMYKcmyk(25%, 74.5%, 0%, 26.3%)
CIE-LABlab(40.26, 60.33, -55.91)
CIE-LCHlch(40.26, 82.25, 317.18°)
OKLaboklab(51.2% 0.1396 -0.1582)
OKLCHoklch(51.2% 0.211 311.4)
XYZxyz(21.1168, 11.4080, 48.6568)
Luminance0.1141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30BC #5FBC30
analogous
#4730BC #8D30BC #BC30A5
triadic
#8D30BC #BC8D30 #30BC8D
tetradic
#8D30BC #BC4730 #5FBC30 #30A5BC
square
#8D30BC #BC4730 #5FBC30 #30A5BC
split-complementary
#8D30BC #A5BC30 #30BC47
monochromatic
#44175A #68248B #8D30BC #A955D4 #C286E0

Accessibility & contrast

On white

6.40
#8D30BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#8D30BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30BC
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30BC#FFFFFF#000000##FFFFFF
##8D30BC1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC0
Deuteranopia (green-blind)
#1761B9
Tritanopia (blue-blind)
#875074
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8d30bc;
/* rgb */ color: rgb(141, 48, 188);
/* oklch */ color: oklch(51.2% 0.211 311.4);
Tailwind
colors: {
  custom: {
    50: '#b372d1',
    500: '#8d30bc',
    950: '#000000',
  },
}
SCSS
$custom: #8d30bc;
$custom-light: #b372d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30bc",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 279.857,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.51195,
    "c": 0.211,
    "h": 311.4
  },
  "luminance": 0.11407
}

Semantic roles & 50–950 ramp

primary
#8D30BC
secondary
#97CA7E
accent
#E3457A
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8D30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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