#8A30C1#8A30C1

#8A30C1 is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.2% C 0.215 H 308.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8A30C1
RGBrgb(138, 48, 193)
HSLhsl(277, 60%, 47%)
HSVhsv(277, 75%, 76%)
CMYKcmyk(28.5%, 75.1%, 0%, 24.3%)
CIE-LABlab(40.19, 60.83, -58.96)
CIE-LCHlch(40.19, 84.72, 315.89°)
OKLaboklab(51.17% 0.1347 -0.1673)
OKLCHoklch(51.17% 0.215 308.8)
XYZxyz(21.1619, 11.3678, 51.5211)
Luminance0.1137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A30C1 #67C130
analogous
#4130C1 #8A30C1 #C130B0
triadic
#8A30C1 #C18A30 #30C18A
tetradic
#8A30C1 #C14130 #67C130 #30B0C1
square
#8A30C1 #C14130 #67C130 #30B0C1
split-complementary
#8A30C1 #B0C130 #30C141
monochromatic
#44185F #672490 #8A30C1 #A659D6 #C08AE2

Accessibility & contrast

On white

6.42
#8A30C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8A30C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A30C1
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A30C1#FFFFFF#000000##FFFFFF
##8A30C11.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC5
Deuteranopia (green-blind)
#0060BE
Tritanopia (blue-blind)
#825377
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8a30c1;
/* rgb */ color: rgb(138, 48, 193);
/* oklch */ color: oklch(51.2% 0.215 308.8);
Tailwind
colors: {
  custom: {
    50: '#b172d5',
    500: '#8a30c1',
    950: '#000000',
  },
}
SCSS
$custom: #8a30c1;
$custom-light: #b172d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8a30c1",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 193
  },
  "hsl": {
    "h": 277.241,
    "s": 60.166,
    "l": 47.255
  },
  "oklch": {
    "l": 0.51173,
    "c": 0.21483,
    "h": 308.8
  },
  "luminance": 0.11367
}

Semantic roles & 50–950 ramp

primary
#8A30C1
secondary
#9DCC81
accent
#E34481
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8A30C1

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

Preview Lab → · Contrast checker → · Palette generator →

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