#8D51DD#8D51DD

#8D51DD is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.4% C 0.205 H 299.6°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8D51DD
RGBrgb(141, 81, 221)
HSLhsl(266, 67%, 59%)
HSVhsv(266, 63%, 87%)
CMYKcmyk(36.2%, 63.3%, 0%, 13.3%)
CIE-LABlab(47.97, 52.87, -62.50)
CIE-LCHlch(47.97, 81.86, 310.23°)
OKLaboklab(57.43% 0.1011 -0.1778)
OKLCHoklch(57.43% 0.205 299.6)
XYZxyz(26.9749, 16.7678, 70.2079)
Luminance0.1677 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D51DD #A1DD51
analogous
#515BDD #8D51DD #D351DD
triadic
#8D51DD #DD8D51 #51DD8D
tetradic
#8D51DD #DD515B #A1DD51 #51DDD3
square
#8D51DD #DD515B #A1DD51 #51DDD3
split-complementary
#8D51DD #DDD351 #5BDD51
monochromatic
#511D96 #6D27C9 #8D51DD #AF84E7 #D0B7F1

Accessibility & contrast

On white

4.82
#8D51DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8D51DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8D51DD
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D51DD#FFFFFF#000000##FFFFFF
##8D51DD1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#0C71DA
Tritanopia (blue-blind)
#7B7090
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8d51dd;
/* rgb */ color: rgb(141, 81, 221);
/* oklch */ color: oklch(57.4% 0.205 299.6);
Tailwind
colors: {
  custom: {
    50: '#b485e8',
    500: '#8d51dd',
    950: '#000000',
  },
}
SCSS
$custom: #8d51dd;
$custom-light: #b485e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d51dd",
  "rgb": {
    "r": 141,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 265.714,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57432,
    "c": 0.20452,
    "h": 299.6
  },
  "luminance": 0.16768
}

Semantic roles & 50–950 ramp

primary
#8D51DD
secondary
#C9E0AA
accent
#EA3EA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8D51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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