#8E308E#8E308E

#8E308E is a mid, vivid purple. Relative luminance 0.098; OKLCH L 48.3% C 0.170 H 327.8°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#8E308E
RGBrgb(142, 48, 142)
HSLhsl(300, 49%, 37%)
HSVhsv(300, 66%, 56%)
CMYKcmyk(0%, 66.2%, 0%, 44.3%)
CIE-LABlab(37.52, 51.56, -32.73)
CIE-LCHlch(37.52, 61.07, 327.60°)
OKLaboklab(48.34% 0.1437 -0.0905)
OKLCHoklch(48.34% 0.17 327.8)
XYZxyz(17.0945, 9.8188, 26.5808)
Luminance0.0982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E308E #308E30
analogous
#5F308E #8E308E #8E305F
triadic
#8E308E #8E8E30 #308E8E
tetradic
#8E308E #8E5F30 #308E30 #305F8E
square
#8E308E #8E5F30 #308E30 #305F8E
split-complementary
#8E308E #5F8E30 #308E5F
monochromatic
#331133 #602160 #8E308E #BC3FBC #CD6BCD

Accessibility & contrast

On white

7.09
#8E308E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#8E308E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8E308E
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E308E#FFFFFF#000000##FFFFFF
##8E308E1.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#235091
Deuteranopia (green-blind)
#475D8B
Tritanopia (blue-blind)
#923D5B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #8e308e;
/* rgb */ color: rgb(142, 48, 142);
/* oklch */ color: oklch(48.3% 0.170 327.8);
Tailwind
colors: {
  custom: {
    50: '#b270af',
    500: '#8e308e',
    950: '#000000',
  },
}
SCSS
$custom: #8e308e;
$custom-light: #b270af;
$custom-dark: #000000;
JSON
{
  "hex": "#8e308e",
  "rgb": {
    "r": 142,
    "g": 48,
    "b": 142
  },
  "hsl": {
    "h": 300,
    "s": 49.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.48338,
    "c": 0.16981,
    "h": 327.8
  },
  "luminance": 0.09818
}

Semantic roles & 50–950 ramp

primary
#8E308E
secondary
#65B465
accent
#D94F4F
background
#FBF7FA
surface
#F6EDF4
border
#D0C8CE
text
#110810
muted
#807B7F

Preview Lab

Preview with #8E308E

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

Preview Lab → · Contrast checker → · Palette generator →

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