#8B30D3#8B30D3

#8B30D3 is a mid, highly saturated violet. Relative luminance 0.123; OKLCH L 52.7% C 0.232 H 304.7°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#8B30D3
RGBrgb(139, 48, 211)
HSLhsl(273, 65%, 51%)
HSVhsv(273, 77%, 83%)
CMYKcmyk(34.1%, 77.3%, 0%, 17.3%)
CIE-LABlab(41.70, 64.94, -66.96)
CIE-LCHlch(41.70, 93.28, 314.12°)
OKLaboklab(52.69% 0.1322 -0.1908)
OKLCHoklch(52.69% 0.232 304.7)
XYZxyz(23.4596, 12.3061, 62.7548)
Luminance0.1231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30D3 #78D330
analogous
#3930D3 #8B30D3 #D330C9
triadic
#8B30D3 #D38B30 #30D38B
tetradic
#8B30D3 #D33930 #78D330 #30C9D3
square
#8B30D3 #D33930 #78D330 #30C9D3
split-complementary
#8B30D3 #C9D330 #30D339
monochromatic
#491871 #6A23A3 #8B30D3 #A762DE #C495E8

Accessibility & contrast

On white

6.07
#8B30D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#8B30D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30D3
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30D3#FFFFFF#000000##FFFFFF
##8B30D31.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b30d3;
/* rgb */ color: rgb(139, 48, 211);
/* oklch */ color: oklch(52.7% 0.232 304.7);
Tailwind
colors: {
  custom: {
    50: '#b373e2',
    500: '#8b30d3',
    950: '#000000',
  },
}
SCSS
$custom: #8b30d3;
$custom-light: #b373e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30d3",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 211
  },
  "hsl": {
    "h": 273.497,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.52687,
    "c": 0.2321,
    "h": 304.7
  },
  "luminance": 0.12306
}

Semantic roles & 50–950 ramp

primary
#8B30D3
secondary
#ABD48B
accent
#E8408A
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#120915
muted
#817B84

Preview Lab

Preview with #8B30D3

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

Preview Lab → · Contrast checker → · Palette generator →

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