#8E30BF#8E30BF

#8E30BF is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.5% C 0.214 H 311.0°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#8E30BF
RGBrgb(142, 48, 191)
HSLhsl(279, 60%, 47%)
HSVhsv(279, 75%, 75%)
CMYKcmyk(25.7%, 74.9%, 0%, 25.1%)
CIE-LABlab(40.62, 61.15, -57.08)
CIE-LCHlch(40.62, 83.65, 316.97°)
OKLaboklab(51.54% 0.1404 -0.1617)
OKLCHoklch(51.54% 0.214 311)
XYZxyz(21.6145, 11.6268, 50.3857)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E30BF #61BF30
analogous
#4730BF #8E30BF #BF30A9
triadic
#8E30BF #BF8E30 #30BF8E
tetradic
#8E30BF #BF4730 #61BF30 #30A9BF
square
#8E30BF #BF4730 #61BF30 #30A9BF
split-complementary
#8E30BF #A9BF30 #30BF47
monochromatic
#45175D #6A248E #8E30BF #AA57D5 #C388E1

Accessibility & contrast

On white

6.32
#8E30BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8E30BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E30BF
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E30BF#FFFFFF#000000##FFFFFF
##8E30BF1.006.323.336.32
#FFFFFF6.321.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC3
Deuteranopia (green-blind)
#1261BC
Tritanopia (blue-blind)
#875176
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8e30bf;
/* rgb */ color: rgb(142, 48, 191);
/* oklch */ color: oklch(51.5% 0.214 311.0);
Tailwind
colors: {
  custom: {
    50: '#b472d3',
    500: '#8e30bf',
    950: '#000000',
  },
}
SCSS
$custom: #8e30bf;
$custom-light: #b472d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8e30bf",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 191
  },
  "hsl": {
    "h": 279.441,
    "s": 59.833,
    "l": 46.863
  },
  "oklch": {
    "l": 0.51544,
    "c": 0.2141,
    "h": 311
  },
  "luminance": 0.11626
}

Semantic roles & 50–950 ramp

primary
#8E30BF
secondary
#9ACB80
accent
#E3457B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8E30BF

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

Preview Lab → · Contrast checker → · Palette generator →

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