#8D28C7#8D28C7

#8D28C7 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.3% C 0.229 H 309.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#8D28C7
RGBrgb(141, 40, 199)
HSLhsl(278, 67%, 47%)
HSVhsv(278, 80%, 78%)
CMYKcmyk(29.1%, 79.9%, 0%, 22%)
CIE-LABlab(40.09, 65.47, -62.62)
CIE-LCHlch(40.09, 90.59, 316.27°)
OKLaboklab(51.33% 0.144 -0.1779)
OKLCHoklch(51.33% 0.229 309)
XYZxyz(22.0500, 11.3042, 55.0421)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D28C7 #62C728
analogous
#3D28C7 #8D28C7 #C728B2
triadic
#8D28C7 #C78D28 #28C78D
tetradic
#8D28C7 #C73D28 #62C728 #28B2C7
square
#8D28C7 #C73D28 #62C728 #28B2C7
split-complementary
#8D28C7 #B2C728 #28C73D
monochromatic
#451461 #691E94 #8D28C7 #A950DC #C283E6

Accessibility & contrast

On white

6.44
#8D28C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#8D28C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D28C7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D28C7#FFFFFF#000000##FFFFFF
##8D28C71.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCB
Deuteranopia (green-blind)
#0060C4
Tritanopia (blue-blind)
#845178
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #8d28c7;
/* rgb */ color: rgb(141, 40, 199);
/* oklch */ color: oklch(51.3% 0.229 309.0);
Tailwind
colors: {
  custom: {
    50: '#b46fd9',
    500: '#8d28c7',
    950: '#000000',
  },
}
SCSS
$custom: #8d28c7;
$custom-light: #b46fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d28c7",
  "rgb": {
    "r": 141,
    "g": 40,
    "b": 199
  },
  "hsl": {
    "h": 278.113,
    "s": 66.527,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5133,
    "c": 0.22891,
    "h": 309
  },
  "luminance": 0.11304
}

Semantic roles & 50–950 ramp

primary
#8D28C7
secondary
#9ACF7C
accent
#E93E7D
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8D28C7

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

Preview Lab → · Contrast checker → · Palette generator →

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