#8E30D3#8E30D3

#8E30D3 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 53.1% C 0.233 H 305.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8E30D3
RGBrgb(142, 48, 211)
HSLhsl(275, 65%, 51%)
HSVhsv(275, 77%, 83%)
CMYKcmyk(32.7%, 77.3%, 0%, 17.3%)
CIE-LABlab(42.10, 65.43, -66.28)
CIE-LCHlch(42.10, 93.14, 314.63°)
OKLaboklab(53.06% 0.1363 -0.1887)
OKLCHoklch(53.06% 0.233 305.8)
XYZxyz(23.9675, 12.5680, 62.7786)
Luminance0.1257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E30D3 #75D330
analogous
#3C30D3 #8E30D3 #D330C7
triadic
#8E30D3 #D38E30 #30D38E
tetradic
#8E30D3 #D33C30 #75D330 #30C7D3
square
#8E30D3 #D33C30 #75D330 #30C7D3
split-complementary
#8E30D3 #C7D330 #30D33C
monochromatic
#4B1871 #6D23A3 #8E30D3 #AA62DE #C595E8

Accessibility & contrast

On white

5.98
#8E30D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#8E30D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E30D3
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E30D3#FFFFFF#000000##FFFFFF
##8E30D31.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0064D0
Tritanopia (blue-blind)
#815A81
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8e30d3;
/* rgb */ color: rgb(142, 48, 211);
/* oklch */ color: oklch(53.1% 0.233 305.8);
Tailwind
colors: {
  custom: {
    50: '#b573e2',
    500: '#8e30d3',
    950: '#000000',
  },
}
SCSS
$custom: #8e30d3;
$custom-light: #b573e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8e30d3",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 211
  },
  "hsl": {
    "h": 274.601,
    "s": 64.94,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53058,
    "c": 0.23275,
    "h": 305.8
  },
  "luminance": 0.12568
}

Semantic roles & 50–950 ramp

primary
#8E30D3
secondary
#AAD48B
accent
#E84087
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8E30D3

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

Preview Lab → · Contrast checker → · Palette generator →

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