#8C48D2#8C48D2

#8C48D2 is a mid, highly saturated violet. Relative luminance 0.149; OKLCH L 55.4% C 0.204 H 302.9°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8C48D2
RGBrgb(140, 72, 210)
HSLhsl(270, 61%, 55%)
HSVhsv(270, 66%, 82%)
CMYKcmyk(33.3%, 65.7%, 0%, 17.6%)
CIE-LABlab(45.45, 54.49, -60.29)
CIE-LCHlch(45.45, 81.27, 312.10°)
OKLaboklab(55.35% 0.1107 -0.1713)
OKLCHoklch(55.35% 0.204 302.9)
XYZxyz(24.7627, 14.8633, 62.5246)
Luminance0.1486 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C48D2 #8ED248
analogous
#4849D2 #8C48D2 #D148D2
triadic
#8C48D2 #D28C48 #48D28C
tetradic
#8C48D2 #D24849 #8ED248 #48D2D1
square
#8C48D2 #D24849 #8ED248 #48D2D1
split-complementary
#8C48D2 #D2D148 #49D248
monochromatic
#4F2080 #6D2CB1 #8C48D2 #AB79DE #CAAAEA

Accessibility & contrast

On white

5.29
#8C48D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8C48D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C48D2
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C48D2#FFFFFF#000000##FFFFFF
##8C48D21.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD6
Deuteranopia (green-blind)
#106BCF
Tritanopia (blue-blind)
#7E6787
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8c48d2;
/* rgb */ color: rgb(140, 72, 210);
/* oklch */ color: oklch(55.4% 0.204 302.9);
Tailwind
colors: {
  custom: {
    50: '#b37fe1',
    500: '#8c48d2',
    950: '#000000',
  },
}
SCSS
$custom: #8c48d2;
$custom-light: #b37fe1;
$custom-dark: #000000;
JSON
{
  "hex": "#8c48d2",
  "rgb": {
    "r": 140,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 269.565,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.55352,
    "c": 0.20396,
    "h": 302.9
  },
  "luminance": 0.14863
}

Semantic roles & 50–950 ramp

primary
#8C48D2
secondary
#BBD89E
accent
#E44495
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8C48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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