#8D51D0#8D51D0

#8D51D0 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.190 H 302.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#8D51D0
RGBrgb(141, 81, 208)
HSLhsl(268, 57%, 57%)
HSVhsv(268, 61%, 82%)
CMYKcmyk(32.2%, 61.1%, 0%, 18.4%)
CIE-LABlab(47.11, 49.66, -56.46)
CIE-LCHlch(47.11, 75.19, 311.33°)
OKLaboklab(56.54% 0.1019 -0.16)
OKLCHoklch(56.54% 0.19 302.5)
XYZxyz(25.3095, 16.1016, 61.4368)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D51D0 #94D051
analogous
#5155D0 #8D51D0 #CC51D0
triadic
#8D51D0 #D08D51 #51D08D
tetradic
#8D51D0 #D05155 #94D051 #51D0CC
square
#8D51D0 #D05155 #94D051 #51D0CC
split-complementary
#8D51D0 #D0CC51 #55D051
monochromatic
#512383 #6E30B3 #8D51D0 #AD81DD #CCB1EA

Accessibility & contrast

On white

4.98
#8D51D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#8D51D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D51D0
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D51D0#FFFFFF#000000##FFFFFF
##8D51D01.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD4
Deuteranopia (green-blind)
#2C6FCD
Tritanopia (blue-blind)
#806C89
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8d51d0;
/* rgb */ color: rgb(141, 81, 208);
/* oklch */ color: oklch(56.5% 0.190 302.5);
Tailwind
colors: {
  custom: {
    50: '#b385df',
    500: '#8d51d0',
    950: '#000000',
  },
}
SCSS
$custom: #8d51d0;
$custom-light: #b385df;
$custom-dark: #000000;
JSON
{
  "hex": "#8d51d0",
  "rgb": {
    "r": 141,
    "g": 81,
    "b": 208
  },
  "hsl": {
    "h": 268.346,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56536,
    "c": 0.18972,
    "h": 302.5
  },
  "luminance": 0.16102
}

Semantic roles & 50–950 ramp

primary
#8D51D0
secondary
#C0D8A4
accent
#E14798
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8D51D0

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

Preview Lab → · Contrast checker → · Palette generator →

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