#8B30C7#8B30C7

#8B30C7 is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.8% C 0.221 H 307.7°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8B30C7
RGBrgb(139, 48, 199)
HSLhsl(276, 61%, 48%)
HSVhsv(276, 76%, 78%)
CMYKcmyk(30.2%, 75.9%, 0%, 22%)
CIE-LABlab(40.78, 62.31, -61.51)
CIE-LCHlch(40.78, 87.56, 315.37°)
OKLaboklab(51.75% 0.1349 -0.1748)
OKLCHoklch(51.75% 0.221 307.7)
XYZxyz(22.0110, 11.7267, 55.1257)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B30C7 #6CC730
analogous
#3F30C7 #8B30C7 #C730B7
triadic
#8B30C7 #C78B30 #30C78B
tetradic
#8B30C7 #C73F30 #6CC730 #30B7C7
square
#8B30C7 #C73F30 #6CC730 #30B7C7
split-complementary
#8B30C7 #B7C730 #30C73F
monochromatic
#461864 #692496 #8B30C7 #A75CD8 #C28EE4

Accessibility & contrast

On white

6.28
#8B30C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#8B30C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B30C7
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B30C7#FFFFFF#000000##FFFFFF
##8B30C71.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCB
Deuteranopia (green-blind)
#0061C4
Tritanopia (blue-blind)
#81557A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8b30c7;
/* rgb */ color: rgb(139, 48, 199);
/* oklch */ color: oklch(51.8% 0.221 307.7);
Tailwind
colors: {
  custom: {
    50: '#b272d9',
    500: '#8b30c7',
    950: '#000000',
  },
}
SCSS
$custom: #8b30c7;
$custom-light: #b272d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b30c7",
  "rgb": {
    "r": 139,
    "g": 48,
    "b": 199
  },
  "hsl": {
    "h": 276.159,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51754,
    "c": 0.22076,
    "h": 307.7
  },
  "luminance": 0.11726
}

Semantic roles & 50–950 ramp

primary
#8B30C7
secondary
#A2CE85
accent
#E44483
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8B30C7

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

Preview Lab → · Contrast checker → · Palette generator →

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