#8F59DC#8F59DC

#8F59DC is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.7% C 0.193 H 299.4°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8F59DC
RGBrgb(143, 89, 220)
HSLhsl(265, 65%, 61%)
HSVhsv(265, 60%, 86%)
CMYKcmyk(35%, 59.5%, 0%, 13.7%)
CIE-LABlab(49.68, 48.86, -59.16)
CIE-LCHlch(49.68, 76.72, 309.55°)
OKLaboklab(58.71% 0.0946 -0.1679)
OKLCHoklch(58.71% 0.193 299.4)
XYZxyz(27.8152, 18.1514, 69.7344)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F59DC #A6DC59
analogous
#5964DC #8F59DC #D059DC
triadic
#8F59DC #DC8F59 #59DC8F
tetradic
#8F59DC #DC5964 #A6DC59 #59DCD0
square
#8F59DC #DC5964 #A6DC59 #59DCD0
split-complementary
#8F59DC #DCD059 #64DC59
monochromatic
#53209A #6E2BCD #8F59DC #B18CE7 #D3BEF1

Accessibility & contrast

On white

4.54
#8F59DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8F59DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F59DC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F59DC#FFFFFF#000000##000000
##8F59DC1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0176E0
Deuteranopia (green-blind)
#2B75D9
Tritanopia (blue-blind)
#7E7592
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f59dc;
/* rgb */ color: rgb(143, 89, 220);
/* oklch */ color: oklch(58.7% 0.193 299.4);
Tailwind
colors: {
  custom: {
    50: '#b48ae8',
    500: '#8f59dc',
    950: '#000000',
  },
}
SCSS
$custom: #8f59dc;
$custom-light: #b48ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f59dc",
  "rgb": {
    "r": 143,
    "g": 89,
    "b": 220
  },
  "hsl": {
    "h": 264.733,
    "s": 65.174,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58705,
    "c": 0.19274,
    "h": 299.4
  },
  "luminance": 0.18152
}

Semantic roles & 50–950 ramp

primary
#8F59DC
secondary
#CDE1AF
accent
#CD1883
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F59DC

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

Preview Lab → · Contrast checker → · Palette generator →

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