#8C3BD2#8C3BD2

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

Color values

HEX#8C3BD2
RGBrgb(140, 59, 210)
HSLhsl(272, 63%, 53%)
HSVhsv(272, 72%, 82%)
CMYKcmyk(33.3%, 71.9%, 0%, 17.6%)
CIE-LABlab(43.30, 60.49, -63.78)
CIE-LCHlch(43.30, 87.90, 313.48°)
OKLaboklab(53.82% 0.1241 -0.1815)
OKLCHoklch(53.82% 0.22 304.4)
XYZxyz(24.0094, 13.3566, 62.2735)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3BD2 #81D23B
analogous
#403BD2 #8C3BD2 #D23BCD
triadic
#8C3BD2 #D28C3B #3BD28C
tetradic
#8C3BD2 #D2403B #81D23B #3BCDD2
square
#8C3BD2 #D2403B #81D23B #3BCDD2
split-complementary
#8C3BD2 #CDD23B #3BD240
monochromatic
#4D1B77 #6D27A9 #8C3BD2 #A96DDD #C69FE9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8C3BD2#FFFFFF#000000##FFFFFF
##8C3BD21.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)
#0064D6
Deuteranopia (green-blind)
#0066CF
Tritanopia (blue-blind)
#7F5F83
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8c3bd2;
/* rgb */ color: rgb(140, 59, 210);
/* oklch */ color: oklch(53.8% 0.220 304.4);
Tailwind
colors: {
  custom: {
    50: '#b378e1',
    500: '#8c3bd2',
    950: '#000000',
  },
}
SCSS
$custom: #8c3bd2;
$custom-light: #b378e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3bd2",
  "rgb": {
    "r": 140,
    "g": 59,
    "b": 210
  },
  "hsl": {
    "h": 272.185,
    "s": 62.656,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53816,
    "c": 0.21983,
    "h": 304.4
  },
  "luminance": 0.13357
}

Semantic roles & 50–950 ramp

primary
#8C3BD2
secondary
#B2D594
accent
#E6428E
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8C3BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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