#8A30B0#8A30B0

#8A30B0 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 49.9% C 0.199 H 313.7°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#8A30B0
RGBrgb(138, 48, 176)
HSLhsl(282, 57%, 44%)
HSVhsv(282, 73%, 69%)
CMYKcmyk(21.6%, 72.7%, 0%, 31%)
CIE-LABlab(38.99, 57.24, -50.90)
CIE-LCHlch(38.99, 76.59, 318.35°)
OKLaboklab(49.94% 0.1374 -0.1436)
OKLCHoklch(49.94% 0.199 313.7)
XYZxyz(19.3733, 10.6524, 42.1015)
Luminance0.1065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A30B0 #56B030
analogous
#4A30B0 #8A30B0 #B03096
triadic
#8A30B0 #B08A30 #30B08A
tetradic
#8A30B0 #B04A30 #56B030 #3096B0
square
#8A30B0 #B04A30 #56B030 #3096B0
split-complementary
#8A30B0 #96B030 #30B04A
monochromatic
#3F1650 #642380 #8A30B0 #A94ECF #C07EDC

Accessibility & contrast

On white

6.71
#8A30B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8A30B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A30B0
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A30B0#FFFFFF#000000##FFFFFF
##8A30B01.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B4
Deuteranopia (green-blind)
#265EAD
Tritanopia (blue-blind)
#864C6D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8a30b0;
/* rgb */ color: rgb(138, 48, 176);
/* oklch */ color: oklch(49.9% 0.199 313.7);
Tailwind
colors: {
  custom: {
    50: '#b071c8',
    500: '#8a30b0',
    950: '#000000',
  },
}
SCSS
$custom: #8a30b0;
$custom-light: #b071c8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a30b0",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 176
  },
  "hsl": {
    "h": 282.188,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.4994,
    "c": 0.19879,
    "h": 313.7
  },
  "luminance": 0.10652
}

Semantic roles & 50–950 ramp

primary
#8A30B0
secondary
#8EC577
accent
#E04775
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8A30B0

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

Preview Lab → · Contrast checker → · Palette generator →

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