#8C30BD#8C30BD

#8C30BD is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 51.1% C 0.212 H 310.7°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8C30BD
RGBrgb(140, 48, 189)
HSLhsl(279, 59%, 46%)
HSVhsv(279, 75%, 74%)
CMYKcmyk(25.9%, 74.6%, 0%, 25.9%)
CIE-LABlab(40.19, 60.35, -56.62)
CIE-LCHlch(40.19, 82.75, 316.83°)
OKLaboklab(51.14% 0.1381 -0.1604)
OKLCHoklch(51.14% 0.212 310.7)
XYZxyz(21.0557, 11.3640, 49.2185)
Luminance0.1136 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C30BD #61BD30
analogous
#4630BD #8C30BD #BD30A8
triadic
#8C30BD #BD8C30 #30BD8C
tetradic
#8C30BD #BD4630 #61BD30 #30A8BD
square
#8C30BD #BD4630 #61BD30 #30A8BD
split-complementary
#8C30BD #A8BD30 #30BD46
monochromatic
#44175B #68248C #8C30BD #A856D4 #C187E0

Accessibility & contrast

On white

6.42
#8C30BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#8C30BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C30BD
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C30BD#FFFFFF#000000##FFFFFF
##8C30BD1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC1
Deuteranopia (green-blind)
#1160BA
Tritanopia (blue-blind)
#855175
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8c30bd;
/* rgb */ color: rgb(140, 48, 189);
/* oklch */ color: oklch(51.1% 0.212 310.7);
Tailwind
colors: {
  custom: {
    50: '#b272d2',
    500: '#8c30bd',
    950: '#000000',
  },
}
SCSS
$custom: #8c30bd;
$custom-light: #b272d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c30bd",
  "rgb": {
    "r": 140,
    "g": 48,
    "b": 189
  },
  "hsl": {
    "h": 279.149,
    "s": 59.494,
    "l": 46.471
  },
  "oklch": {
    "l": 0.51136,
    "c": 0.21164,
    "h": 310.7
  },
  "luminance": 0.11363
}

Semantic roles & 50–950 ramp

primary
#8C30BD
secondary
#99CA7F
accent
#E3457C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8C30BD

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

Preview Lab → · Contrast checker → · Palette generator →

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