#8D3DCA#8D3DCA

#8D3DCA is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.6% C 0.210 H 306.5°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8D3DCA
RGBrgb(141, 61, 202)
HSLhsl(274, 57%, 52%)
HSVhsv(274, 70%, 79%)
CMYKcmyk(30.2%, 69.8%, 0%, 20.8%)
CIE-LABlab(43.16, 57.98, -59.38)
CIE-LCHlch(43.16, 82.99, 314.32°)
OKLaboklab(53.57% 0.1247 -0.1685)
OKLCHoklch(53.57% 0.21 306.5)
XYZxyz(23.3116, 13.2647, 57.1979)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3DCA #7ACA3D
analogous
#473DCA #8D3DCA #CA3DC0
triadic
#8D3DCA #CA8D3D #3DCA8D
tetradic
#8D3DCA #CA473D #7ACA3D #3DC0CA
square
#8D3DCA #CA473D #7ACA3D #3DC0CA
split-complementary
#8D3DCA #C0CA3D #3DCA47
monochromatic
#4C1E6E #6D2B9F #8D3DCA #A96DD7 #C59DE4

Accessibility & contrast

On white

5.75
#8D3DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8D3DCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3DCA
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3DCA#FFFFFF#000000##FFFFFF
##8D3DCA1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d3dca;
/* rgb */ color: rgb(141, 61, 202);
/* oklch */ color: oklch(53.6% 0.210 306.5);
Tailwind
colors: {
  custom: {
    50: '#b379db',
    500: '#8d3dca',
    950: '#000000',
  },
}
SCSS
$custom: #8d3dca;
$custom-light: #b379db;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3dca",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 274.043,
    "s": 57.085,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53566,
    "c": 0.20964,
    "h": 306.5
  },
  "luminance": 0.13264
}

Semantic roles & 50–950 ramp

primary
#8D3DCA
secondary
#ADD092
accent
#E0478A
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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