#8B59DB#8B59DB

#8B59DB is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.2% C 0.191 H 297.9°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8B59DB
RGBrgb(139, 89, 219)
HSLhsl(263, 64%, 60%)
HSVhsv(263, 59%, 86%)
CMYKcmyk(36.5%, 59.4%, 0%, 14.1%)
CIE-LABlab(49.19, 47.71, -59.40)
CIE-LCHlch(49.19, 76.19, 308.77°)
OKLaboklab(58.23% 0.0895 -0.1687)
OKLCHoklch(58.23% 0.191 297.9)
XYZxyz(27.0028, 17.7478, 69.0071)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B59DB #A9DB59
analogous
#5968DB #8B59DB #CC59DB
triadic
#8B59DB #DB8B59 #59DB8B
tetradic
#8B59DB #DB5968 #A9DB59 #59DBCC
square
#8B59DB #DB5968 #A9DB59 #59DBCC
split-complementary
#8B59DB #DBCC59 #68DB59
monochromatic
#4F2199 #692CCB #8B59DB #AE8BE6 #D1BEF1

Accessibility & contrast

On white

4.62
#8B59DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8B59DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B59DB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B59DB#FFFFFF#000000##FFFFFF
##8B59DB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#2674D8
Tritanopia (blue-blind)
#797592
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b59db;
/* rgb */ color: rgb(139, 89, 219);
/* oklch */ color: oklch(58.2% 0.191 297.9);
Tailwind
colors: {
  custom: {
    50: '#b28ae7',
    500: '#8b59db',
    950: '#000000',
  },
}
SCSS
$custom: #8b59db;
$custom-light: #b28ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b59db",
  "rgb": {
    "r": 139,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 263.077,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58229,
    "c": 0.19099,
    "h": 297.9
  },
  "luminance": 0.17748
}

Semantic roles & 50–950 ramp

primary
#8B59DB
secondary
#CEE1AF
accent
#CC1987
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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