#8C148E#8C148E

#8C148E is a mid, vivid purple. Relative luminance 0.080; OKLCH L 45.8% C 0.198 H 327.5°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#8C148E
RGBrgb(140, 20, 142)
HSLhsl(299, 75%, 32%)
HSVhsv(299, 86%, 56%)
CMYKcmyk(1.4%, 85.9%, 0%, 44.3%)
CIE-LABlab(34.05, 60.06, -38.26)
CIE-LCHlch(34.05, 71.22, 327.50°)
OKLaboklab(45.79% 0.1667 -0.1064)
OKLCHoklch(45.79% 0.198 327.5)
XYZxyz(15.9476, 8.0300, 26.2959)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C148E #168E14
analogous
#4F148E #8C148E #8E1453
triadic
#8C148E #8E8C14 #148E8C
tetradic
#8C148E #8E4F14 #168E14 #14538E
square
#8C148E #8E4F14 #168E14 #14538E
split-complementary
#8C148E #538E14 #148E4F
monochromatic
#220523 #570C58 #8C148E #C11CC4 #E039E3

Accessibility & contrast

On white

8.06
#8C148E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#8C148E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C148E
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C148E#FFFFFF#000000##FFFFFF
##8C148E1.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004791
Deuteranopia (green-blind)
#39558B
Tritanopia (blue-blind)
#902D54
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #8c148e;
/* rgb */ color: rgb(140, 20, 142);
/* oklch */ color: oklch(45.8% 0.198 327.5);
Tailwind
colors: {
  custom: {
    50: '#b265af',
    500: '#8c148e',
    950: '#000000',
  },
}
SCSS
$custom: #8c148e;
$custom-light: #b265af;
$custom-dark: #000000;
JSON
{
  "hex": "#8c148e",
  "rgb": {
    "r": 140,
    "g": 20,
    "b": 142
  },
  "hsl": {
    "h": 299.016,
    "s": 75.309,
    "l": 31.765
  },
  "oklch": {
    "l": 0.45792,
    "c": 0.19777,
    "h": 327.5
  },
  "luminance": 0.08029
}

Semantic roles & 50–950 ramp

primary
#8C148E
secondary
#3EC23C
accent
#F23639
background
#FBF6FA
surface
#F6EBF5
border
#D0C6CF
text
#110610
muted
#807A7F

Preview Lab

Preview with #8C148E

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

Preview Lab → · Contrast checker → · Palette generator →

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