#8D3EDB#8D3EDB

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

Color values

HEX#8D3EDB
RGBrgb(141, 62, 219)
HSLhsl(270, 69%, 55%)
HSVhsv(270, 72%, 86%)
CMYKcmyk(35.6%, 71.7%, 0%, 14.1%)
CIE-LABlab(44.55, 61.45, -66.90)
CIE-LCHlch(44.55, 90.84, 312.57°)
OKLaboklab(54.94% 0.1209 -0.1906)
OKLCHoklch(54.94% 0.226 302.4)
XYZxyz(25.4903, 14.2224, 68.4064)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3EDB #8CDB3E
analogous
#3E3EDB #8D3EDB #DB3EDB
triadic
#8D3EDB #DB8D3E #3EDB8D
tetradic
#8D3EDB #DB3E3E #8CDB3E #3EDBDB
square
#8D3EDB #DB3E3E #8CDB3E #3EDBDB
split-complementary
#8D3EDB #DBDB3E #3EDB3E
monochromatic
#501986 #6E23B9 #8D3EDB #AB72E5 #CAA5EE

Accessibility & contrast

On white

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

On black

3.84
#8D3EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8D3EDB#FFFFFF#000000##FFFFFF
##8D3EDB1.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E0
Deuteranopia (green-blind)
#0069D8
Tritanopia (blue-blind)
#7D6489
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8d3edb;
/* rgb */ color: rgb(141, 62, 219);
/* oklch */ color: oklch(54.9% 0.226 302.4);
Tailwind
colors: {
  custom: {
    50: '#b47ae7',
    500: '#8d3edb',
    950: '#000000',
  },
}
SCSS
$custom: #8d3edb;
$custom-light: #b47ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3edb",
  "rgb": {
    "r": 141,
    "g": 62,
    "b": 219
  },
  "hsl": {
    "h": 270.191,
    "s": 68.559,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54942,
    "c": 0.22576,
    "h": 302.4
  },
  "luminance": 0.14222
}

Semantic roles & 50–950 ramp

primary
#8D3EDB
secondary
#BADB99
accent
#EB3C93
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D3EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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