#8B30C9#8B30C9

#8B30C9 is a mid, highly saturated violet. Relative luminance 0.118; OKLCH L 51.9% C 0.223 H 307.1°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8B30C9
RGBrgb(139, 48, 201)
HSLhsl(276, 61%, 49%)
HSVhsv(276, 76%, 79%)
CMYKcmyk(30.8%, 76.1%, 0%, 21.2%)
CIE-LABlab(40.93, 62.75, -62.43)
CIE-LCHlch(40.93, 88.51, 315.15°)
OKLaboklab(51.91% 0.1345 -0.1775)
OKLCHoklch(51.91% 0.223 307.1)
XYZxyz(22.2448, 11.8202, 56.3567)
Luminance0.1182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30C9 #6EC930
analogous
#3E30C9 #8B30C9 #C930BB
triadic
#8B30C9 #C98B30 #30C98B
tetradic
#8B30C9 #C93E30 #6EC930 #30BBC9
square
#8B30C9 #C93E30 #6EC930 #30BBC9
split-complementary
#8B30C9 #BBC930 #30C93E
monochromatic
#471866 #692498 #8B30C9 #A75ED8 #C28FE4

Accessibility & contrast

On white

6.24
#8B30C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#8B30C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30C9
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30C9#FFFFFF#000000##FFFFFF
##8B30C91.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0061C6
Tritanopia (blue-blind)
#80567B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b30c9;
/* rgb */ color: rgb(139, 48, 201);
/* oklch */ color: oklch(51.9% 0.223 307.1);
Tailwind
colors: {
  custom: {
    50: '#b272da',
    500: '#8b30c9',
    950: '#000000',
  },
}
SCSS
$custom: #8b30c9;
$custom-light: #b272da;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30c9",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 201
  },
  "hsl": {
    "h": 275.686,
    "s": 61.446,
    "l": 48.824
  },
  "oklch": {
    "l": 0.51907,
    "c": 0.22265,
    "h": 307.1
  },
  "luminance": 0.1182
}

Semantic roles & 50–950 ramp

primary
#8B30C9
secondary
#A4CF86
accent
#E54385
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8B30C9

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

Preview Lab → · Contrast checker → · Palette generator →

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