#8D30B2#8D30B2

#8D30B2 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.5% C 0.202 H 314.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#8D30B2
RGBrgb(141, 48, 178)
HSLhsl(283, 58%, 44%)
HSVhsv(283, 73%, 70%)
CMYKcmyk(20.8%, 73%, 0%, 30.2%)
CIE-LABlab(39.57, 58.26, -51.13)
CIE-LCHlch(39.57, 77.51, 318.73°)
OKLaboklab(50.48% 0.141 -0.1442)
OKLCHoklch(50.48% 0.202 314.4)
XYZxyz(20.0760, 10.9917, 43.1749)
Luminance0.1099 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30B2 #55B230
analogous
#4C30B2 #8D30B2 #B23096
triadic
#8D30B2 #B28D30 #30B28D
tetradic
#8D30B2 #B24C30 #55B230 #3096B2
square
#8D30B2 #B24C30 #55B230 #3096B2
split-complementary
#8D30B2 #96B230 #30B24C
monochromatic
#411652 #672382 #8D30B2 #AB50D0 #C280DD

Accessibility & contrast

On white

6.57
#8D30B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#8D30B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D30B2
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30B2#FFFFFF#000000##FFFFFF
##8D30B21.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B6
Deuteranopia (green-blind)
#295FAF
Tritanopia (blue-blind)
#8A4C6E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d30b2;
/* rgb */ color: rgb(141, 48, 178);
/* oklch */ color: oklch(50.5% 0.202 314.4);
Tailwind
colors: {
  custom: {
    50: '#b271ca',
    500: '#8d30b2',
    950: '#000000',
  },
}
SCSS
$custom: #8d30b2;
$custom-light: #b271ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30b2",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 282.923,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.20171,
    "h": 314.4
  },
  "luminance": 0.10991
}

Semantic roles & 50–950 ramp

primary
#8D30B2
secondary
#8EC678
accent
#E14773
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D30B2

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

Preview Lab → · Contrast checker → · Palette generator →

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