#8D30B4#8D30B4

#8D30B4 is a mid, highly saturated purple. Relative luminance 0.111; OKLCH L 50.6% C 0.204 H 313.8°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#8D30B4
RGBrgb(141, 48, 180)
HSLhsl(282, 58%, 45%)
HSVhsv(282, 73%, 71%)
CMYKcmyk(21.7%, 73.3%, 0%, 29.4%)
CIE-LABlab(39.70, 58.67, -52.09)
CIE-LCHlch(39.70, 78.46, 318.40°)
OKLaboklab(50.62% 0.1408 -0.147)
OKLCHoklch(50.62% 0.204 313.8)
XYZxyz(20.2783, 11.0726, 44.2402)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30B4 #57B430
analogous
#4B30B4 #8D30B4 #B43099
triadic
#8D30B4 #B48D30 #30B48D
tetradic
#8D30B4 #B44B30 #57B430 #3099B4
square
#8D30B4 #B44B30 #57B430 #3099B4
split-complementary
#8D30B4 #99B430 #30B44B
monochromatic
#411653 #672384 #8D30B4 #AB51D1 #C281DD

Accessibility & contrast

On white

6.53
#8D30B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#8D30B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30B4
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30B4#FFFFFF#000000##FFFFFF
##8D30B41.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B8
Deuteranopia (green-blind)
#2660B1
Tritanopia (blue-blind)
#894D6F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d30b4;
/* rgb */ color: rgb(141, 48, 180);
/* oklch */ color: oklch(50.6% 0.204 313.8);
Tailwind
colors: {
  custom: {
    50: '#b371cb',
    500: '#8d30b4',
    950: '#000000',
  },
}
SCSS
$custom: #8d30b4;
$custom-light: #b371cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30b4",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 180
  },
  "hsl": {
    "h": 282.273,
    "s": 57.895,
    "l": 44.706
  },
  "oklch": {
    "l": 0.50624,
    "c": 0.20356,
    "h": 313.8
  },
  "luminance": 0.11072
}

Semantic roles & 50–950 ramp

primary
#8D30B4
secondary
#90C679
accent
#E14774
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110813
muted
#807B82

Preview Lab

Preview with #8D30B4

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

Preview Lab → · Contrast checker → · Palette generator →

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