#8A30BC#8A30BC

#8A30BC is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.8% C 0.210 H 310.2°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#8A30BC
RGBrgb(138, 48, 188)
HSLhsl(279, 59%, 46%)
HSVhsv(279, 74%, 74%)
CMYKcmyk(26.6%, 74.5%, 0%, 26.3%)
CIE-LABlab(39.83, 59.76, -56.62)
CIE-LCHlch(39.83, 82.33, 316.54°)
OKLaboklab(50.8% 0.1356 -0.1604)
OKLCHoklch(50.8% 0.21 310.2)
XYZxyz(20.6135, 11.1485, 48.6332)
Luminance0.1115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A30BC #62BC30
analogous
#4430BC #8A30BC #BC30A8
triadic
#8A30BC #BC8A30 #30BC8A
tetradic
#8A30BC #BC4430 #62BC30 #30A8BC
square
#8A30BC #BC4430 #62BC30 #30A8BC
split-complementary
#8A30BC #A8BC30 #30BC44
monochromatic
#42175A #66248B #8A30BC #A755D4 #C086E0

Accessibility & contrast

On white

6.50
#8A30BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#8A30BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8A30BC
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A30BC#FFFFFF#000000##FFFFFF
##8A30BC1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC0
Deuteranopia (green-blind)
#0D5FB9
Tritanopia (blue-blind)
#835174
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8a30bc;
/* rgb */ color: rgb(138, 48, 188);
/* oklch */ color: oklch(50.8% 0.210 310.2);
Tailwind
colors: {
  custom: {
    50: '#b171d1',
    500: '#8a30bc',
    950: '#000000',
  },
}
SCSS
$custom: #8a30bc;
$custom-light: #b171d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8a30bc",
  "rgb": {
    "r": 138,
    "g": 48,
    "b": 188
  },
  "hsl": {
    "h": 278.571,
    "s": 59.322,
    "l": 46.275
  },
  "oklch": {
    "l": 0.50802,
    "c": 0.2101,
    "h": 310.2
  },
  "luminance": 0.11148
}

Semantic roles & 50–950 ramp

primary
#8A30BC
secondary
#99CA7E
accent
#E3457D
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#110814
muted
#807B82

Preview Lab

Preview with #8A30BC

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

Preview Lab → · Contrast checker → · Palette generator →

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