#8C59DB#8C59DB

#8C59DB is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.3% C 0.191 H 298.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8C59DB
RGBrgb(140, 89, 219)
HSLhsl(264, 64%, 60%)
HSVhsv(264, 59%, 86%)
CMYKcmyk(36.1%, 59.4%, 0%, 14.1%)
CIE-LABlab(49.29, 47.93, -59.22)
CIE-LCHlch(49.29, 76.19, 308.99°)
OKLaboklab(58.33% 0.0908 -0.1682)
OKLCHoklch(58.33% 0.191 298.3)
XYZxyz(27.1706, 17.8343, 69.0150)
Luminance0.1784 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C59DB #A8DB59
analogous
#5967DB #8C59DB #CD59DB
triadic
#8C59DB #DB8C59 #59DB8C
tetradic
#8C59DB #DB5967 #A8DB59 #59DBCD
square
#8C59DB #DB5967 #A8DB59 #59DBCD
split-complementary
#8C59DB #DBCD59 #67DB59
monochromatic
#502199 #6A2CCB #8C59DB #AF8BE6 #D2BEF1

Accessibility & contrast

On white

4.60
#8C59DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8C59DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8C59DB
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C59DB#FFFFFF#000000##FFFFFF
##8C59DB1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#7A7592
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8c59db;
/* rgb */ color: rgb(140, 89, 219);
/* oklch */ color: oklch(58.3% 0.191 298.3);
Tailwind
colors: {
  custom: {
    50: '#b28ae7',
    500: '#8c59db',
    950: '#000000',
  },
}
SCSS
$custom: #8c59db;
$custom-light: #b28ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#8c59db",
  "rgb": {
    "r": 140,
    "g": 89,
    "b": 219
  },
  "hsl": {
    "h": 263.538,
    "s": 64.356,
    "l": 60.392
  },
  "oklch": {
    "l": 0.5833,
    "c": 0.19112,
    "h": 298.3
  },
  "luminance": 0.17835
}

Semantic roles & 50–950 ramp

primary
#8C59DB
secondary
#CDE1AF
accent
#CC1986
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8C59DB

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

Preview Lab → · Contrast checker → · Palette generator →

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