#8C59EF#8C59EF

#8C59EF is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.7% C 0.215 H 294.7°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8C59EF
RGBrgb(140, 89, 239)
HSLhsl(260, 82%, 64%)
HSVhsv(260, 63%, 94%)
CMYKcmyk(41.4%, 62.8%, 0%, 6.3%)
CIE-LABlab(50.63, 53.09, -68.35)
CIE-LCHlch(50.63, 86.55, 307.84°)
OKLaboklab(59.73% 0.0896 -0.195)
OKLCHoklch(59.73% 0.215 294.7)
XYZxyz(29.9634, 18.9515, 83.7239)
Luminance0.1895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C59EF #BCEF59
analogous
#5971EF #8C59EF #D759EF
triadic
#8C59EF #EF8C59 #59EF8C
tetradic
#8C59EF #EF5971 #BCEF59 #59EFD7
square
#8C59EF #EF5971 #BCEF59 #59EFD7
split-complementary
#8C59EF #EFD759 #71EF59
monochromatic
#4C12BC #6521EA #8C59EF #B391F4 #D9C9FA

Accessibility & contrast

On white

4.38
#8C59EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#8C59EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C59EF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C59EF#FFFFFF#000000##000000
##8C59EF1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF4
Deuteranopia (green-blind)
#0076EC
Tritanopia (blue-blind)
#727C9C
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8c59ef;
/* rgb */ color: rgb(140, 89, 239);
/* oklch */ color: oklch(59.7% 0.215 294.7);
Tailwind
colors: {
  custom: {
    50: '#b48af5',
    500: '#8c59ef',
    950: '#000000',
  },
}
SCSS
$custom: #8c59ef;
$custom-light: #b48af5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c59ef",
  "rgb": {
    "r": 140,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 260.4,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59726,
    "c": 0.21463,
    "h": 294.7
  },
  "luminance": 0.18952
}

Semantic roles & 50–950 ramp

primary
#8C59EF
secondary
#DAECB8
accent
#DF0795
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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