#8D3DC9#8D3DC9

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

Color values

HEX#8D3DC9
RGBrgb(141, 61, 201)
HSLhsl(274, 56%, 51%)
HSVhsv(274, 70%, 79%)
CMYKcmyk(29.9%, 69.7%, 0%, 21.2%)
CIE-LABlab(43.09, 57.75, -58.91)
CIE-LCHlch(43.09, 82.50, 314.43°)
OKLaboklab(53.49% 0.1248 -0.1671)
OKLCHoklch(53.49% 0.209 306.8)
XYZxyz(23.1936, 13.2175, 56.5764)
Luminance0.1322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3DC9 #79C93D
analogous
#473DC9 #8D3DC9 #C93DBF
triadic
#8D3DC9 #C98D3D #3DC98D
tetradic
#8D3DC9 #C9473D #79C93D #3DBFC9
square
#8D3DC9 #C9473D #79C93D #3DBFC9
split-complementary
#8D3DC9 #BFC93D #3DC947
monochromatic
#4B1E6D #6C2C9D #8D3DC9 #A96DD6 #C59DE4

Accessibility & contrast

On white

5.76
#8D3DC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8D3DC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3DC9
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3DC9#FFFFFF#000000##FFFFFF
##8D3DC91.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d3dc9;
/* rgb */ color: rgb(141, 61, 201);
/* oklch */ color: oklch(53.5% 0.209 306.8);
Tailwind
colors: {
  custom: {
    50: '#b379da',
    500: '#8d3dc9',
    950: '#000000',
  },
}
SCSS
$custom: #8d3dc9;
$custom-light: #b379da;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3dc9",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 201
  },
  "hsl": {
    "h": 274.286,
    "s": 56.452,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53494,
    "c": 0.20862,
    "h": 306.8
  },
  "luminance": 0.13217
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D3DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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