#8A30C4#8A30C4

#8A30C4 is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.4% C 0.218 H 308.0°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#8A30C4
RGBrgb(138, 48, 196)
HSLhsl(276, 61%, 48%)
HSVhsv(276, 76%, 77%)
CMYKcmyk(29.6%, 75.5%, 0%, 23.1%)
CIE-LABlab(40.42, 61.48, -60.36)
CIE-LCHlch(40.42, 86.16, 315.53°)
OKLaboklab(51.4% 0.1342 -0.1714)
OKLCHoklch(51.4% 0.218 308)
XYZxyz(21.4999, 11.5030, 53.3015)
Luminance0.1150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A30C4 #6AC430
analogous
#4030C4 #8A30C4 #C430B4
triadic
#8A30C4 #C48A30 #30C48A
tetradic
#8A30C4 #C44030 #6AC430 #30B4C4
square
#8A30C4 #C44030 #6AC430 #30B4C4
split-complementary
#8A30C4 #B4C430 #30C440
monochromatic
#451862 #672493 #8A30C4 #A65AD7 #C18CE3

Accessibility & contrast

On white

6.36
#8A30C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#8A30C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A30C4
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A30C4#FFFFFF#000000##FFFFFF
##8A30C41.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC8
Deuteranopia (green-blind)
#0060C1
Tritanopia (blue-blind)
#815478
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a30c4;
/* rgb */ color: rgb(138, 48, 196);
/* oklch */ color: oklch(51.4% 0.218 308.0);
Tailwind
colors: {
  custom: {
    50: '#b172d7',
    500: '#8a30c4',
    950: '#000000',
  },
}
SCSS
$custom: #8a30c4;
$custom-light: #b172d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8a30c4",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 196
  },
  "hsl": {
    "h": 276.486,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.51399,
    "c": 0.21767,
    "h": 308
  },
  "luminance": 0.11503
}

Semantic roles & 50–950 ramp

primary
#8A30C4
secondary
#A0CD83
accent
#E44483
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8A30C4

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

Preview Lab → · Contrast checker → · Palette generator →

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