#8D3CDB#8D3CDB

#8D3CDB is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.7% C 0.228 H 302.6°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#8D3CDB
RGBrgb(141, 60, 219)
HSLhsl(271, 69%, 55%)
HSVhsv(271, 73%, 86%)
CMYKcmyk(35.6%, 72.6%, 0%, 14.1%)
CIE-LABlab(44.25, 62.31, -67.39)
CIE-LCHlch(44.25, 91.78, 312.76°)
OKLaboklab(54.73% 0.1228 -0.1921)
OKLCHoklch(54.73% 0.228 302.6)
XYZxyz(25.3835, 14.0089, 68.3708)
Luminance0.1401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3CDB #8ADB3C
analogous
#3E3CDB #8D3CDB #DB3CDA
triadic
#8D3CDB #DB8D3C #3CDB8D
tetradic
#8D3CDB #DB3E3C #8ADB3C #3CDADB
square
#8D3CDB #DB3E3C #8ADB3C #3CDADB
split-complementary
#8D3CDB #DADB3C #3CDB3E
monochromatic
#4F1884 #6E22B8 #8D3CDB #AB70E5 #C9A3EE

Accessibility & contrast

On white

5.52
#8D3CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#8D3CDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3CDB
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3CDB#FFFFFF#000000##FFFFFF
##8D3CDB1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d3cdb;
/* rgb */ color: rgb(141, 60, 219);
/* oklch */ color: oklch(54.7% 0.228 302.6);
Tailwind
colors: {
  custom: {
    50: '#b579e7',
    500: '#8d3cdb',
    950: '#000000',
  },
}
SCSS
$custom: #8d3cdb;
$custom-light: #b579e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3cdb",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 219
  },
  "hsl": {
    "h": 270.566,
    "s": 68.831,
    "l": 54.706
  },
  "oklch": {
    "l": 0.54726,
    "c": 0.22797,
    "h": 302.6
  },
  "luminance": 0.14009
}

Semantic roles & 50–950 ramp

primary
#8D3CDB
secondary
#B9DB98
accent
#EC3C92
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8D3CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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