#8D3ECA#8D3ECA

#8D3ECA is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.208 H 306.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8D3ECA
RGBrgb(141, 62, 202)
HSLhsl(274, 57%, 52%)
HSVhsv(274, 69%, 79%)
CMYKcmyk(30.2%, 69.3%, 0%, 20.8%)
CIE-LABlab(43.32, 57.53, -59.12)
CIE-LCHlch(43.32, 82.49, 314.22°)
OKLaboklab(53.68% 0.1237 -0.1678)
OKLCHoklch(53.68% 0.208 306.4)
XYZxyz(23.3655, 13.3725, 57.2159)
Luminance0.1337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3ECA #7BCA3E
analogous
#473ECA #8D3ECA #CA3EC1
triadic
#8D3ECA #CA8D3E #3ECA8D
tetradic
#8D3ECA #CA473E #7BCA3E #3EC1CA
square
#8D3ECA #CA473E #7BCA3E #3EC1CA
split-complementary
#8D3ECA #C1CA3E #3ECA47
monochromatic
#4C1F6F #6D2C9F #8D3ECA #A96ED7 #C69EE4

Accessibility & contrast

On white

5.72
#8D3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8D3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3ECA
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3ECA#FFFFFF#000000##FFFFFF
##8D3ECA1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0F67C7
Tritanopia (blue-blind)
#835E80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d3eca;
/* rgb */ color: rgb(141, 62, 202);
/* oklch */ color: oklch(53.7% 0.208 306.4);
Tailwind
colors: {
  custom: {
    50: '#b379db',
    500: '#8d3eca',
    950: '#000000',
  },
}
SCSS
$custom: #8d3eca;
$custom-light: #b379db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3eca",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 273.857,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5368,
    "c": 0.20842,
    "h": 306.4
  },
  "luminance": 0.13372
}

Semantic roles & 50–950 ramp

primary
#8D3ECA
secondary
#AED193
accent
#E0488A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8D3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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