#8B51DD#8B51DD

#8B51DD is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.2% C 0.204 H 298.8°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8B51DD
RGBrgb(139, 81, 221)
HSLhsl(265, 67%, 59%)
HSVhsv(265, 63%, 87%)
CMYKcmyk(37.1%, 63.3%, 0%, 13.3%)
CIE-LABlab(47.74, 52.45, -62.87)
CIE-LCHlch(47.74, 81.87, 309.84°)
OKLaboklab(57.22% 0.0985 -0.1789)
OKLCHoklch(57.22% 0.204 298.8)
XYZxyz(26.6378, 16.5940, 70.1921)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B51DD #A3DD51
analogous
#515DDD #8B51DD #D151DD
triadic
#8B51DD #DD8B51 #51DD8B
tetradic
#8B51DD #DD515D #A3DD51 #51DDD1
square
#8B51DD #DD515D #A3DD51 #51DDD1
split-complementary
#8B51DD #DDD151 #5DDD51
monochromatic
#4F1D96 #6B27C9 #8B51DD #AD84E7 #CFB7F1

Accessibility & contrast

On white

4.86
#8B51DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8B51DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B51DD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B51DD#FFFFFF#000000##FFFFFF
##8B51DD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#0370DA
Tritanopia (blue-blind)
#787090
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8b51dd;
/* rgb */ color: rgb(139, 81, 221);
/* oklch */ color: oklch(57.2% 0.204 298.8);
Tailwind
colors: {
  custom: {
    50: '#b285e8',
    500: '#8b51dd',
    950: '#000000',
  },
}
SCSS
$custom: #8b51dd;
$custom-light: #b285e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8b51dd",
  "rgb": {
    "r": 139,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 264.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57221,
    "c": 0.20423,
    "h": 298.8
  },
  "luminance": 0.16594
}

Semantic roles & 50–950 ramp

primary
#8B51DD
secondary
#CAE0AA
accent
#EA3EA3
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B51DD

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

Preview Lab → · Contrast checker → · Palette generator →

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