#8D3CB9#8D3CB9

#8D3CB9 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.3% C 0.194 H 311.2°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8D3CB9
RGBrgb(141, 60, 185)
HSLhsl(279, 51%, 48%)
HSVhsv(279, 68%, 73%)
CMYKcmyk(23.8%, 67.6%, 0%, 27.5%)
CIE-LABlab(41.84, 54.65, -51.59)
CIE-LCHlch(41.84, 75.16, 316.65°)
OKLaboklab(52.26% 0.1277 -0.1456)
OKLCHoklch(52.26% 0.194 311.2)
XYZxyz(21.3557, 12.3977, 47.1576)
Luminance0.1240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3CB9 #68B93C
analogous
#4E3CB9 #8D3CB9 #B93CA6
triadic
#8D3CB9 #B98D3C #3CB98D
tetradic
#8D3CB9 #B94E3C #68B93C #3CA6B9
square
#8D3CB9 #B94E3C #68B93C #3CA6B9
split-complementary
#8D3CB9 #A6B93C #3CB94E
monochromatic
#471E5D #6A2D8B #8D3CB9 #A865CD #C293DC

Accessibility & contrast

On white

6.04
#8D3CB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8D3CB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3CB9
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3CB9#FFFFFF#000000##FFFFFF
##8D3CB91.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FBD
Deuteranopia (green-blind)
#2D64B6
Tritanopia (blue-blind)
#875676
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8d3cb9;
/* rgb */ color: rgb(141, 60, 185);
/* oklch */ color: oklch(52.3% 0.194 311.2);
Tailwind
colors: {
  custom: {
    50: '#b278cf',
    500: '#8d3cb9',
    950: '#000000',
  },
}
SCSS
$custom: #8d3cb9;
$custom-light: #b278cf;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3cb9",
  "rgb": {
    "r": 141,
    "g": 60,
    "b": 185
  },
  "hsl": {
    "h": 278.88,
    "s": 51.02,
    "l": 48.039
  },
  "oklch": {
    "l": 0.52257,
    "c": 0.19369,
    "h": 311.2
  },
  "luminance": 0.12397
}

Semantic roles & 50–950 ramp

primary
#8D3CB9
secondary
#9FC789
accent
#DA4D7F
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8D3CB9

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

Preview Lab → · Contrast checker → · Palette generator →

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