#8C43D2#8C43D2

#8C43D2 is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.7% C 0.210 H 303.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8C43D2
RGBrgb(140, 67, 210)
HSLhsl(271, 61%, 54%)
HSVhsv(271, 68%, 82%)
CMYKcmyk(33.3%, 68.1%, 0%, 17.6%)
CIE-LABlab(44.58, 56.89, -61.70)
CIE-LCHlch(44.58, 83.92, 312.68°)
OKLaboklab(54.73% 0.1161 -0.1754)
OKLCHoklch(54.73% 0.21 303.5)
XYZxyz(24.4525, 14.2429, 62.4212)
Luminance0.1424 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C43D2 #89D243
analogous
#4543D2 #8C43D2 #D243D1
triadic
#8C43D2 #D28C43 #43D28C
tetradic
#8C43D2 #D24543 #89D243 #43D1D2
square
#8C43D2 #D24543 #89D243 #43D1D2
split-complementary
#8C43D2 #D1D243 #43D245
monochromatic
#4E1E7D #6D2AAE #8C43D2 #AA74DE #C8A6EA

Accessibility & contrast

On white

5.46
#8C43D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#8C43D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C43D2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C43D2#FFFFFF#000000##FFFFFF
##8C43D21.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068D6
Deuteranopia (green-blind)
#0069CF
Tritanopia (blue-blind)
#7E6485
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8c43d2;
/* rgb */ color: rgb(140, 67, 210);
/* oklch */ color: oklch(54.7% 0.210 303.5);
Tailwind
colors: {
  custom: {
    50: '#b37ce1',
    500: '#8c43d2',
    950: '#000000',
  },
}
SCSS
$custom: #8c43d2;
$custom-light: #b37ce1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c43d2",
  "rgb": {
    "r": 140,
    "g": 67,
    "b": 210
  },
  "hsl": {
    "h": 270.629,
    "s": 61.373,
    "l": 54.314
  },
  "oklch": {
    "l": 0.5473,
    "c": 0.21033,
    "h": 303.5
  },
  "luminance": 0.14243
}

Semantic roles & 50–950 ramp

primary
#8C43D2
secondary
#B8D79A
accent
#E44392
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8C43D2

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

Preview Lab → · Contrast checker → · Palette generator →

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