#8C2ED0#8C2ED0

#8C2ED0 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.4% C 0.231 H 306.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8C2ED0
RGBrgb(140, 46, 208)
HSLhsl(275, 64%, 50%)
HSVhsv(275, 78%, 82%)
CMYKcmyk(32.7%, 77.9%, 0%, 18.4%)
CIE-LABlab(41.35, 65.17, -65.79)
CIE-LCHlch(41.35, 92.61, 314.73°)
OKLaboklab(52.4% 0.1359 -0.1873)
OKLCHoklch(52.4% 0.231 306)
XYZxyz(23.1749, 12.0837, 60.7738)
Luminance0.1208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C2ED0 #72D02E
analogous
#3B2ED0 #8C2ED0 #D02EC3
triadic
#8C2ED0 #D08C2E #2ED08C
tetradic
#8C2ED0 #D03B2E #72D02E #2EC3D0
square
#8C2ED0 #D03B2E #72D02E #2EC3D0
split-complementary
#8C2ED0 #C3D02E #2ED03B
monochromatic
#49186C #6A239E #8C2ED0 #A85FDC #C392E7

Accessibility & contrast

On white

6.15
#8C2ED0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8C2ED0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C2ED0
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C2ED0#FFFFFF#000000##FFFFFF
##8C2ED01.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FD4
Deuteranopia (green-blind)
#0062CD
Tritanopia (blue-blind)
#80587F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #8c2ed0;
/* rgb */ color: rgb(140, 46, 208);
/* oklch */ color: oklch(52.4% 0.231 306.0);
Tailwind
colors: {
  custom: {
    50: '#b472df',
    500: '#8c2ed0',
    950: '#000000',
  },
}
SCSS
$custom: #8c2ed0;
$custom-light: #b472df;
$custom-dark: #000000;
JSON
{
  "hex": "#8c2ed0",
  "rgb": {
    "r": 140,
    "g": 46,
    "b": 208
  },
  "hsl": {
    "h": 274.815,
    "s": 63.78,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52398,
    "c": 0.23141,
    "h": 306
  },
  "luminance": 0.12084
}

Semantic roles & 50–950 ramp

primary
#8C2ED0
secondary
#A7D288
accent
#E74187
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C2ED0

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

Preview Lab → · Contrast checker → · Palette generator →

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