#8D30B3#8D30B3

#8D30B3 is a mid, highly saturated purple. Relative luminance 0.110; OKLCH L 50.6% C 0.203 H 314.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#8D30B3
RGBrgb(141, 48, 179)
HSLhsl(283, 58%, 45%)
HSVhsv(283, 73%, 70%)
CMYKcmyk(21.2%, 73.2%, 0%, 29.8%)
CIE-LABlab(39.63, 58.47, -51.61)
CIE-LCHlch(39.63, 77.99, 318.56°)
OKLaboklab(50.55% 0.1409 -0.1456)
OKLCHoklch(50.55% 0.203 314.1)
XYZxyz(20.1768, 11.0320, 43.7056)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D30B3 #56B330
analogous
#4B30B3 #8D30B3 #B33098
triadic
#8D30B3 #B38D30 #30B38D
tetradic
#8D30B3 #B34B30 #56B330 #3098B3
square
#8D30B3 #B34B30 #56B330 #3098B3
split-complementary
#8D30B3 #98B330 #30B34B
monochromatic
#411652 #672383 #8D30B3 #AB50D0 #C280DD

Accessibility & contrast

On white

6.55
#8D30B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8D30B3
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D30B3#FFFFFF#000000##FFFFFF
##8D30B31.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#2760B0
Tritanopia (blue-blind)
#894C6F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #8d30b3;
/* rgb */ color: rgb(141, 48, 179);
/* oklch */ color: oklch(50.6% 0.203 314.1);
Tailwind
colors: {
  custom: {
    50: '#b271ca',
    500: '#8d30b3',
    950: '#000000',
  },
}
SCSS
$custom: #8d30b3;
$custom-light: #b271ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8d30b3",
  "rgb": {
    "r": 141,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 282.595,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.50554,
    "c": 0.20263,
    "h": 314.1
  },
  "luminance": 0.11031
}

Semantic roles & 50–950 ramp

primary
#8D30B3
secondary
#8FC679
accent
#E14774
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8D30B3

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

Preview Lab → · Contrast checker → · Palette generator →

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