#8D3DCC#8D3DCC

#8D3DCC is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.212 H 306.0°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8D3DCC
RGBrgb(141, 61, 204)
HSLhsl(274, 58%, 52%)
HSVhsv(274, 70%, 80%)
CMYKcmyk(30.9%, 70.1%, 0%, 20%)
CIE-LABlab(43.30, 58.43, -60.30)
CIE-LCHlch(43.30, 83.97, 314.10°)
OKLaboklab(53.71% 0.1244 -0.1712)
OKLCHoklch(53.71% 0.212 306)
XYZxyz(23.5499, 13.3600, 58.4531)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D3DCC #7CCC3D
analogous
#463DCC #8D3DCC #CC3DC4
triadic
#8D3DCC #CC8D3D #3DCC8D
tetradic
#8D3DCC #CC463D #7CCC3D #3DC4CC
square
#8D3DCC #CC463D #7CCC3D #3DC4CC
split-complementary
#8D3DCC #C4CC3D #3DCC46
monochromatic
#4C1E71 #6D2AA1 #8D3DCC #A96DD9 #C69EE5

Accessibility & contrast

On white

5.72
#8D3DCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8D3DCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D3DCC
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D3DCC#FFFFFF#000000##FFFFFF
##8D3DCC1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D0
Deuteranopia (green-blind)
#0167C9
Tritanopia (blue-blind)
#825E80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8d3dcc;
/* rgb */ color: rgb(141, 61, 204);
/* oklch */ color: oklch(53.7% 0.212 306.0);
Tailwind
colors: {
  custom: {
    50: '#b379dc',
    500: '#8d3dcc',
    950: '#000000',
  },
}
SCSS
$custom: #8d3dcc;
$custom-light: #b379dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8d3dcc",
  "rgb": {
    "r": 141,
    "g": 61,
    "b": 204
  },
  "hsl": {
    "h": 273.566,
    "s": 58.367,
    "l": 51.961
  },
  "oklch": {
    "l": 0.53711,
    "c": 0.21166,
    "h": 306
  },
  "luminance": 0.1336
}

Semantic roles & 50–950 ramp

primary
#8D3DCC
secondary
#AFD293
accent
#E2468B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8D3DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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