#8D3ECF#8D3ECF

#8D3ECF is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.214 H 305.2°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8D3ECF
RGBrgb(141, 62, 207)
HSLhsl(273, 60%, 53%)
HSVhsv(273, 70%, 81%)
CMYKcmyk(31.9%, 70%, 0%, 18.8%)
CIE-LABlab(43.67, 58.67, -61.43)
CIE-LCHlch(43.67, 84.95, 313.68°)
OKLaboklab(54.04% 0.123 -0.1746)
OKLCHoklch(54.04% 0.214 305.2)
XYZxyz(23.9671, 13.6131, 60.3844)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3ECF #80CF3E
analogous
#453ECF #8D3ECF #CF3EC8
triadic
#8D3ECF #CF8D3E #3ECF8D
tetradic
#8D3ECF #CF453E #80CF3E #3EC8CF
square
#8D3ECF #CF453E #80CF3E #3EC8CF
split-complementary
#8D3ECF #C8CF3E #3ECF45
monochromatic
#4D1D75 #6E29A6 #8D3ECF #AA6FDB #C7A0E7

Accessibility & contrast

On white

5.64
#8D3ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#8D3ECF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3ECF
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3ECF#FFFFFF#000000##FFFFFF
##8D3ECF1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#816082
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8d3ecf;
/* rgb */ color: rgb(141, 62, 207);
/* oklch */ color: oklch(54.0% 0.214 305.2);
Tailwind
colors: {
  custom: {
    50: '#b37adf',
    500: '#8d3ecf',
    950: '#000000',
  },
}
SCSS
$custom: #8d3ecf;
$custom-light: #b37adf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3ecf",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 207
  },
  "hsl": {
    "h": 272.69,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.54043,
    "c": 0.21353,
    "h": 305.2
  },
  "luminance": 0.13613
}

Semantic roles & 50–950 ramp

primary
#8D3ECF
secondary
#B2D495
accent
#E3448D
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8D3ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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