#8D4FD2#8D4FD2

#8D4FD2 is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.4% C 0.195 H 302.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8D4FD2
RGBrgb(141, 79, 210)
HSLhsl(268, 59%, 57%)
HSVhsv(268, 62%, 82%)
CMYKcmyk(32.9%, 62.4%, 0%, 17.6%)
CIE-LABlab(46.85, 51.18, -58.02)
CIE-LCHlch(46.85, 77.37, 311.42°)
OKLaboklab(56.39% 0.1042 -0.1646)
OKLCHoklch(56.39% 0.195 302.3)
XYZxyz(25.4106, 15.9078, 62.6921)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D4FD2 #94D24F
analogous
#4F53D2 #8D4FD2 #CF4FD2
triadic
#8D4FD2 #D28D4F #4FD28D
tetradic
#8D4FD2 #D24F53 #94D24F #4FD2CF
square
#8D4FD2 #D24F53 #94D24F #4FD2CF
split-complementary
#8D4FD2 #D2CF4F #53D24F
monochromatic
#512285 #6E2EB5 #8D4FD2 #AD80DE #CCB0EB

Accessibility & contrast

On white

5.02
#8D4FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8D4FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D4FD2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D4FD2#FFFFFF#000000##FFFFFF
##8D4FD21.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED6
Deuteranopia (green-blind)
#256FCF
Tritanopia (blue-blind)
#7F6B89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8d4fd2;
/* rgb */ color: rgb(141, 79, 210);
/* oklch */ color: oklch(56.4% 0.195 302.3);
Tailwind
colors: {
  custom: {
    50: '#b384e1',
    500: '#8d4fd2',
    950: '#000000',
  },
}
SCSS
$custom: #8d4fd2;
$custom-light: #b384e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8d4fd2",
  "rgb": {
    "r": 141,
    "g": 79,
    "b": 210
  },
  "hsl": {
    "h": 268.397,
    "s": 59.276,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56393,
    "c": 0.19478,
    "h": 302.3
  },
  "luminance": 0.15908
}

Semantic roles & 50–950 ramp

primary
#8D4FD2
secondary
#C0D9A4
accent
#E24598
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D4FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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