#8A30D3#8A30D3

#8A30D3 is a mid, highly saturated violet. Relative luminance 0.122; OKLCH L 52.6% C 0.232 H 304.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8A30D3
RGBrgb(138, 48, 211)
HSLhsl(273, 65%, 51%)
HSVhsv(273, 77%, 83%)
CMYKcmyk(34.6%, 77.3%, 0%, 17.3%)
CIE-LABlab(41.56, 64.77, -67.18)
CIE-LCHlch(41.56, 93.33, 313.95°)
OKLaboklab(52.57% 0.1308 -0.1915)
OKLCHoklch(52.57% 0.232 304.3)
XYZxyz(23.2933, 12.2204, 62.7470)
Luminance0.1222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A30D3 #79D330
analogous
#3830D3 #8A30D3 #D330CA
triadic
#8A30D3 #D38A30 #30D38A
tetradic
#8A30D3 #D33830 #79D330 #30CAD3
square
#8A30D3 #D33830 #79D330 #30CAD3
split-complementary
#8A30D3 #CAD330 #30D338
monochromatic
#491871 #6A23A3 #8A30D3 #A762DE #C395E8

Accessibility & contrast

On white

6.10
#8A30D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#8A30D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A30D3
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A30D3#FFFFFF#000000##FFFFFF
##8A30D31.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D7
Deuteranopia (green-blind)
#0062D0
Tritanopia (blue-blind)
#7C5B81
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8a30d3;
/* rgb */ color: rgb(138, 48, 211);
/* oklch */ color: oklch(52.6% 0.232 304.3);
Tailwind
colors: {
  custom: {
    50: '#b372e2',
    500: '#8a30d3',
    950: '#000000',
  },
}
SCSS
$custom: #8a30d3;
$custom-light: #b372e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8a30d3",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 211
  },
  "hsl": {
    "h": 273.129,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52565,
    "c": 0.2319,
    "h": 304.3
  },
  "luminance": 0.1222
}

Semantic roles & 50–950 ramp

primary
#8A30D3
secondary
#ACD48B
accent
#E8408B
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120915
muted
#817B84

Preview Lab

Preview with #8A30D3

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

Preview Lab → · Contrast checker → · Palette generator →

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