#8C30BF#8C30BF

#8C30BF is a mid, highly saturated violet. Relative luminance 0.115; OKLCH L 51.3% C 0.214 H 310.2°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8C30BF
RGBrgb(140, 48, 191)
HSLhsl(279, 60%, 47%)
HSVhsv(279, 75%, 75%)
CMYKcmyk(26.7%, 74.9%, 0%, 25.1%)
CIE-LABlab(40.33, 60.78, -57.56)
CIE-LCHlch(40.33, 83.71, 316.56°)
OKLaboklab(51.28% 0.1378 -0.1631)
OKLCHoklch(51.28% 0.214 310.2)
XYZxyz(21.2743, 11.4514, 50.3697)
Luminance0.1145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C30BF #63BF30
analogous
#4430BF #8C30BF #BF30AB
triadic
#8C30BF #BF8C30 #30BF8C
tetradic
#8C30BF #BF4430 #63BF30 #30ABBF
square
#8C30BF #BF4430 #63BF30 #30ABBF
split-complementary
#8C30BF #ABBF30 #30BF44
monochromatic
#44175D #68248E #8C30BF #A857D5 #C188E1

Accessibility & contrast

On white

6.38
#8C30BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8C30BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C30BF
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C30BF#FFFFFF#000000##FFFFFF
##8C30BF1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC3
Deuteranopia (green-blind)
#0A60BC
Tritanopia (blue-blind)
#855276
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8c30bf;
/* rgb */ color: rgb(140, 48, 191);
/* oklch */ color: oklch(51.3% 0.214 310.2);
Tailwind
colors: {
  custom: {
    50: '#b272d3',
    500: '#8c30bf',
    950: '#000000',
  },
}
SCSS
$custom: #8c30bf;
$custom-light: #b272d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c30bf",
  "rgb": {
    "r": 140,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 278.601,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51283,
    "c": 0.21351,
    "h": 310.2
  },
  "luminance": 0.11451
}

Semantic roles & 50–950 ramp

primary
#8C30BF
secondary
#9BCB80
accent
#E3457D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83

Preview Lab

Preview with #8C30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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