#8D3ECC#8D3ECC

#8D3ECC is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.8% C 0.210 H 305.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8D3ECC
RGBrgb(141, 62, 204)
HSLhsl(273, 58%, 52%)
HSVhsv(273, 70%, 80%)
CMYKcmyk(30.9%, 69.6%, 0%, 20%)
CIE-LABlab(43.46, 57.99, -60.05)
CIE-LCHlch(43.46, 83.48, 314.00°)
OKLaboklab(53.82% 0.1234 -0.1705)
OKLCHoklch(53.82% 0.21 305.9)
XYZxyz(23.6038, 13.4678, 58.4711)
Luminance0.1347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3ECC #7DCC3E
analogous
#463ECC #8D3ECC #CC3EC4
triadic
#8D3ECC #CC8D3E #3ECC8D
tetradic
#8D3ECC #CC463E #7DCC3E #3EC4CC
square
#8D3ECC #CC463E #7DCC3E #3EC4CC
split-complementary
#8D3ECC #C4CC3E #3ECC46
monochromatic
#4D1E72 #6D2BA2 #8D3ECC #AA6ED9 #C69FE6

Accessibility & contrast

On white

5.69
#8D3ECC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#8D3ECC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3ECC
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3ECC#FFFFFF#000000##FFFFFF
##8D3ECC1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0567C9
Tritanopia (blue-blind)
#825E81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d3ecc;
/* rgb */ color: rgb(141, 62, 204);
/* oklch */ color: oklch(53.8% 0.210 305.9);
Tailwind
colors: {
  custom: {
    50: '#b379dc',
    500: '#8d3ecc',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ecc;
$custom-light: #b379dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ecc",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 204
  },
  "hsl": {
    "h": 273.38,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53824,
    "c": 0.21046,
    "h": 305.9
  },
  "luminance": 0.13468
}

Semantic roles & 50–950 ramp

primary
#8D3ECC
secondary
#AFD294
accent
#E1468B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8D3ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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