#8D3CCA#8D3CCA

#8D3CCA is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.211 H 306.6°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8D3CCA
RGBrgb(141, 60, 202)
HSLhsl(274, 57%, 51%)
HSVhsv(274, 70%, 79%)
CMYKcmyk(30.2%, 70.3%, 0%, 20.8%)
CIE-LABlab(43.00, 58.42, -59.63)
CIE-LCHlch(43.00, 83.48, 314.41°)
OKLaboklab(53.45% 0.1257 -0.1693)
OKLCHoklch(53.45% 0.211 306.6)
XYZxyz(23.2587, 13.1590, 57.1803)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3CCA #79CA3C
analogous
#463CCA #8D3CCA #CA3CC0
triadic
#8D3CCA #CA8D3C #3CCA8D
tetradic
#8D3CCA #CA463C #79CA3C #3CC0CA
square
#8D3CCA #CA463C #79CA3C #3CC0CA
split-complementary
#8D3CCA #C0CA3C #3CCA46
monochromatic
#4B1E6E #6C2B9E #8D3CCA #A96CD7 #C59CE4

Accessibility & contrast

On white

5.78
#8D3CCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8D3CCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3CCA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3CCA#FFFFFF#000000##FFFFFF
##8D3CCA1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#0766C7
Tritanopia (blue-blind)
#835D7F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d3cca;
/* rgb */ color: rgb(141, 60, 202);
/* oklch */ color: oklch(53.5% 0.211 306.6);
Tailwind
colors: {
  custom: {
    50: '#b378db',
    500: '#8d3cca',
    950: '#000000',
  },
}
SCSS
$custom: #8d3cca;
$custom-light: #b378db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3cca",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 202
  },
  "hsl": {
    "h": 274.225,
    "s": 57.258,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53454,
    "c": 0.21084,
    "h": 306.6
  },
  "luminance": 0.13159
}

Semantic roles & 50–950 ramp

primary
#8D3CCA
secondary
#ACD092
accent
#E14789
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D3CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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