#8E309B#8E309B

#8E309B is a mid, vivid purple. Relative luminance 0.102; OKLCH L 49.1% C 0.181 H 322.6°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#8E309B
RGBrgb(142, 48, 155)
HSLhsl(293, 53%, 40%)
HSVhsv(293, 69%, 61%)
CMYKcmyk(8.4%, 69%, 0%, 39.2%)
CIE-LABlab(38.26, 53.95, -39.46)
CIE-LCHlch(38.26, 66.84, 323.82°)
OKLaboklab(49.11% 0.1439 -0.11)
OKLCHoklch(49.11% 0.181 322.6)
XYZxyz(18.1281, 10.2323, 32.0242)
Luminance0.1023 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E309B #3D9B30
analogous
#58309B #8E309B #9B3073
triadic
#8E309B #9B8E30 #309B8E
tetradic
#8E309B #9B5830 #3D9B30 #30739B
square
#8E309B #9B5830 #3D9B30 #30739B
split-complementary
#8E309B #739B30 #309B58
monochromatic
#38133E #63226C #8E309B #B543C5 #C872D3

Accessibility & contrast

On white

6.89
#8E309B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#8E309B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8E309B
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E309B#FFFFFF#000000##FFFFFF
##8E309B1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10539E
Deuteranopia (green-blind)
#3F5E98
Tritanopia (blue-blind)
#904262
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8e309b;
/* rgb */ color: rgb(142, 48, 155);
/* oklch */ color: oklch(49.1% 0.181 322.6);
Tailwind
colors: {
  custom: {
    50: '#b271b9',
    500: '#8e309b',
    950: '#000000',
  },
}
SCSS
$custom: #8e309b;
$custom-light: #b271b9;
$custom-dark: #000000;
JSON
{
  "hex": "#8e309b",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 155
  },
  "hsl": {
    "h": 292.71,
    "s": 52.709,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49111,
    "c": 0.18116,
    "h": 322.6
  },
  "luminance": 0.10231
}

Semantic roles & 50–950 ramp

primary
#8E309B
secondary
#75BB6C
accent
#DC4C5D
background
#FBF7FB
surface
#F6EDF6
border
#D0C8D0
text
#110811
muted
#807B80

Preview Lab

Preview with #8E309B

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

Preview Lab → · Contrast checker → · Palette generator →

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