#8C4BD3#8C4BD3

#8C4BD3 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.8% C 0.201 H 302.2°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8C4BD3
RGBrgb(140, 75, 211)
HSLhsl(269, 61%, 56%)
HSVhsv(269, 64%, 83%)
CMYKcmyk(33.6%, 64.5%, 0%, 17.3%)
CIE-LABlab(46.06, 53.24, -59.88)
CIE-LCHlch(46.06, 80.13, 311.64°)
OKLaboklab(55.81% 0.1073 -0.1701)
OKLCHoklch(55.81% 0.201 302.2)
XYZxyz(25.0864, 15.3107, 63.2490)
Luminance0.1531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4BD3 #92D34B
analogous
#4B4ED3 #8C4BD3 #D04BD3
triadic
#8C4BD3 #D38C4B #4BD38C
tetradic
#8C4BD3 #D34B4E #92D34B #4BD3D0
square
#8C4BD3 #D34B4E #92D34B #4BD3D0
split-complementary
#8C4BD3 #D3D04B #4ED34B
monochromatic
#502083 #6D2CB5 #8C4BD3 #AB7CDF #CBADEB

Accessibility & contrast

On white

5.17
#8C4BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#8C4BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4BD3
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4BD3#FFFFFF#000000##FFFFFF
##8C4BD31.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#176DD0
Tritanopia (blue-blind)
#7E6988
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8c4bd3;
/* rgb */ color: rgb(140, 75, 211);
/* oklch */ color: oklch(55.8% 0.201 302.2);
Tailwind
colors: {
  custom: {
    50: '#b281e1',
    500: '#8c4bd3',
    950: '#000000',
  },
}
SCSS
$custom: #8c4bd3;
$custom-light: #b281e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4bd3",
  "rgb": {
    "r": 140,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 268.676,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.55813,
    "c": 0.20112,
    "h": 302.2
  },
  "luminance": 0.15311
}

Semantic roles & 50–950 ramp

primary
#8C4BD3
secondary
#BED9A1
accent
#E44497
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8C4BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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