#8D59EF#8D59EF

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

Color values

HEX#8D59EF
RGBrgb(141, 89, 239)
HSLhsl(261, 82%, 64%)
HSVhsv(261, 63%, 94%)
CMYKcmyk(41%, 62.8%, 0%, 6.3%)
CIE-LABlab(50.73, 53.29, -68.18)
CIE-LCHlch(50.73, 86.54, 308.01°)
OKLaboklab(59.82% 0.0909 -0.1945)
OKLCHoklch(59.82% 0.215 295.1)
XYZxyz(30.1327, 19.0388, 83.7319)
Luminance0.1904 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D59EF #BBEF59
analogous
#5970EF #8D59EF #D859EF
triadic
#8D59EF #EF8D59 #59EF8D
tetradic
#8D59EF #EF5970 #BBEF59 #59EFD8
square
#8D59EF #EF5970 #BBEF59 #59EFD8
split-complementary
#8D59EF #EFD859 #70EF59
monochromatic
#4D12BC #6721EA #8D59EF #B391F4 #DAC9FA

Accessibility & contrast

On white

4.37
#8D59EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8D59EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D59EF
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D59EF#FFFFFF#000000##000000
##8D59EF1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d59ef;
/* rgb */ color: rgb(141, 89, 239);
/* oklch */ color: oklch(59.8% 0.215 295.1);
Tailwind
colors: {
  custom: {
    50: '#b58af5',
    500: '#8d59ef',
    950: '#000000',
  },
}
SCSS
$custom: #8d59ef;
$custom-light: #b58af5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d59ef",
  "rgb": {
    "r": 141,
    "g": 89,
    "b": 239
  },
  "hsl": {
    "h": 260.8,
    "s": 82.418,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59823,
    "c": 0.2147,
    "h": 295.1
  },
  "luminance": 0.19039
}

Semantic roles & 50–950 ramp

primary
#8D59EF
secondary
#DAECB8
accent
#DF0794
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D59EF

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

Preview Lab → · Contrast checker → · Palette generator →

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