#8A30D0#8A30D0

#8A30D0 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.3% C 0.229 H 305.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8A30D0
RGBrgb(138, 48, 208)
HSLhsl(274, 63%, 50%)
HSVhsv(274, 77%, 82%)
CMYKcmyk(33.7%, 76.9%, 0%, 18.4%)
CIE-LABlab(41.33, 64.11, -65.84)
CIE-LCHlch(41.33, 91.89, 314.24°)
OKLaboklab(52.33% 0.1315 -0.1875)
OKLCHoklch(52.33% 0.229 305)
XYZxyz(22.9208, 12.0714, 60.7848)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A30D0 #76D030
analogous
#3A30D0 #8A30D0 #D030C6
triadic
#8A30D0 #D08A30 #30D08A
tetradic
#8A30D0 #D03A30 #76D030 #30C6D0
square
#8A30D0 #D03A30 #76D030 #30C6D0
split-complementary
#8A30D0 #C6D030 #30D03A
monochromatic
#48196D #69249F #8A30D0 #A662DB #C294E7

Accessibility & contrast

On white

6.15
#8A30D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8A30D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A30D0
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A30D0#FFFFFF#000000##FFFFFF
##8A30D01.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#7D597F
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8a30d0;
/* rgb */ color: rgb(138, 48, 208);
/* oklch */ color: oklch(52.3% 0.229 305.0);
Tailwind
colors: {
  custom: {
    50: '#b272df',
    500: '#8a30d0',
    950: '#000000',
  },
}
SCSS
$custom: #8a30d0;
$custom-light: #b272df;
$custom-dark: #000000;
JSON
{
  "hex": "#8a30d0",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 208
  },
  "hsl": {
    "h": 273.75,
    "s": 62.992,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52327,
    "c": 0.22905,
    "h": 305
  },
  "luminance": 0.12071
}

Semantic roles & 50–950 ramp

primary
#8A30D0
secondary
#A9D28A
accent
#E6428A
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8A30D0

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

Preview Lab → · Contrast checker → · Palette generator →

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