#8C279B#8C279B

#8C279B is a mid, vivid purple. Relative luminance 0.094; OKLCH L 48.0% C 0.191 H 322.2°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#8C279B
RGBrgb(140, 39, 155)
HSLhsl(292, 60%, 38%)
HSVhsv(292, 75%, 61%)
CMYKcmyk(9.7%, 74.8%, 0%, 39.2%)
CIE-LABlab(36.73, 56.92, -41.91)
CIE-LCHlch(36.73, 70.69, 323.63°)
OKLaboklab(47.96% 0.1508 -0.1172)
OKLCHoklch(47.96% 0.191 322.2)
XYZxyz(17.4565, 9.3940, 31.8977)
Luminance0.0939 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C279B #369B27
analogous
#52279B #8C279B #9B2770
triadic
#8C279B #9B8C27 #279B8C
tetradic
#8C279B #9B5227 #369B27 #27709B
square
#8C279B #9B5227 #369B27 #27709B
split-complementary
#8C279B #709B27 #279B52
monochromatic
#340E39 #601B6A #8C279B #B833CC #C964D8

Accessibility & contrast

On white

7.30
#8C279B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#8C279B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #8C279B
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C279B#FFFFFF#000000##FFFFFF
##8C279B1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004F9E
Deuteranopia (green-blind)
#385A98
Tritanopia (blue-blind)
#8E3D5F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #8c279b;
/* rgb */ color: rgb(140, 39, 155);
/* oklch */ color: oklch(48.0% 0.191 322.2);
Tailwind
colors: {
  custom: {
    50: '#b16cb9',
    500: '#8c279b',
    950: '#000000',
  },
}
SCSS
$custom: #8c279b;
$custom-light: #b16cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c279b",
  "rgb": {
    "r": 140,
    "g": 39,
    "b": 155
  },
  "hsl": {
    "h": 292.241,
    "s": 59.794,
    "l": 38.039
  },
  "oklch": {
    "l": 0.47958,
    "c": 0.19098,
    "h": 322.2
  },
  "luminance": 0.09393
}

Semantic roles & 50–950 ramp

primary
#8C279B
secondary
#6CBE60
accent
#E34559
background
#FBF6FB
surface
#F6ECF6
border
#D0C7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #8C279B

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

Preview Lab → · Contrast checker → · Palette generator →

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