#8C3DD2#8C3DD2

#8C3DD2 is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.0% C 0.218 H 304.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8C3DD2
RGBrgb(140, 61, 210)
HSLhsl(272, 62%, 53%)
HSVhsv(272, 71%, 82%)
CMYKcmyk(33.3%, 71%, 0%, 17.6%)
CIE-LABlab(43.60, 59.62, -63.28)
CIE-LCHlch(43.60, 86.94, 313.29°)
OKLaboklab(54.04% 0.1221 -0.18)
OKLCHoklch(54.04% 0.218 304.2)
XYZxyz(24.1142, 13.5662, 62.3084)
Luminance0.1357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3DD2 #83D23D
analogous
#413DD2 #8C3DD2 #D23DCD
triadic
#8C3DD2 #D28C3D #3DD28C
tetradic
#8C3DD2 #D2413D #83D23D #3DCDD2
square
#8C3DD2 #D2413D #83D23D #3DCDD2
split-complementary
#8C3DD2 #CDD23D #3DD241
monochromatic
#4D1C79 #6D28AA #8C3DD2 #A96FDE #C7A0E9

Accessibility & contrast

On white

5.66
#8C3DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8C3DD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3DD2
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3DD2#FFFFFF#000000##FFFFFF
##8C3DD21.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D6
Deuteranopia (green-blind)
#0067CF
Tritanopia (blue-blind)
#7F6084
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8c3dd2;
/* rgb */ color: rgb(140, 61, 210);
/* oklch */ color: oklch(54.0% 0.218 304.2);
Tailwind
colors: {
  custom: {
    50: '#b379e1',
    500: '#8c3dd2',
    950: '#000000',
  },
}
SCSS
$custom: #8c3dd2;
$custom-light: #b379e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3dd2",
  "rgb": {
    "r": 140,
    "g": 61,
    "b": 210
  },
  "hsl": {
    "h": 271.812,
    "s": 62.343,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54035,
    "c": 0.21754,
    "h": 304.2
  },
  "luminance": 0.13566
}

Semantic roles & 50–950 ramp

primary
#8C3DD2
secondary
#B3D695
accent
#E5428F
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C3DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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