#8B51DF#8B51DF

#8B51DF is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.4% C 0.207 H 298.4°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8B51DF
RGBrgb(139, 81, 223)
HSLhsl(265, 69%, 60%)
HSVhsv(265, 64%, 87%)
CMYKcmyk(37.7%, 63.7%, 0%, 12.5%)
CIE-LABlab(47.88, 52.95, -63.78)
CIE-LCHlch(47.88, 82.90, 309.70°)
OKLaboklab(57.36% 0.0983 -0.1816)
OKLCHoklch(57.36% 0.207 298.4)
XYZxyz(26.9058, 16.7012, 71.6038)
Luminance0.1670 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B51DF #A5DF51
analogous
#515EDF #8B51DF #D251DF
triadic
#8B51DF #DF8B51 #51DF8B
tetradic
#8B51DF #DF515E #A5DF51 #51DFD2
square
#8B51DF #DF515E #A5DF51 #51DFD2
split-complementary
#8B51DF #DFD251 #5EDF51
monochromatic
#4F1C99 #6A26CD #8B51DF #AD85E9 #D0B8F2

Accessibility & contrast

On white

4.84
#8B51DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8B51DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B51DF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B51DF#FFFFFF#000000##FFFFFF
##8B51DF1.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E3
Deuteranopia (green-blind)
#0070DC
Tritanopia (blue-blind)
#777191
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b51df;
/* rgb */ color: rgb(139, 81, 223);
/* oklch */ color: oklch(57.4% 0.207 298.4);
Tailwind
colors: {
  custom: {
    50: '#b285ea',
    500: '#8b51df',
    950: '#000000',
  },
}
SCSS
$custom: #8b51df;
$custom-light: #b285ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8b51df",
  "rgb": {
    "r": 139,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 264.507,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57364,
    "c": 0.20651,
    "h": 298.4
  },
  "luminance": 0.16702
}

Semantic roles & 50–950 ramp

primary
#8B51DF
secondary
#CBE1AA
accent
#EC3CA4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84

Preview Lab

Preview with #8B51DF

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

Preview Lab → · Contrast checker → · Palette generator →

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