#8F59D7#8F59D7

#8F59D7 is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.4% C 0.187 H 300.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8F59D7
RGBrgb(143, 89, 215)
HSLhsl(266, 61%, 60%)
HSVhsv(266, 59%, 84%)
CMYKcmyk(33.5%, 58.6%, 0%, 15.7%)
CIE-LABlab(49.36, 47.61, -56.82)
CIE-LCHlch(49.36, 74.13, 309.96°)
OKLaboklab(58.37% 0.0947 -0.161)
OKLCHoklch(58.37% 0.187 300.5)
XYZxyz(27.1629, 17.8905, 66.2990)
Luminance0.1789 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F59D7 #A1D759
analogous
#5962D7 #8F59D7 #CE59D7
triadic
#8F59D7 #D78F59 #59D78F
tetradic
#8F59D7 #D75962 #A1D759 #59D7CE
square
#8F59D7 #D75962 #A1D759 #59D7CE
split-complementary
#8F59D7 #D7CE59 #62D759
monochromatic
#532392 #6F2FC4 #8F59D7 #B08AE3 #D2BCEF

Accessibility & contrast

On white

4.59
#8F59D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8F59D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F59D7
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F59D7#FFFFFF#000000##FFFFFF
##8F59D71.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1675DB
Deuteranopia (green-blind)
#3275D4
Tritanopia (blue-blind)
#807390
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f59d7;
/* rgb */ color: rgb(143, 89, 215);
/* oklch */ color: oklch(58.4% 0.187 300.5);
Tailwind
colors: {
  custom: {
    50: '#b48ae4',
    500: '#8f59d7',
    950: '#000000',
  },
}
SCSS
$custom: #8f59d7;
$custom-light: #b48ae4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f59d7",
  "rgb": {
    "r": 143,
    "g": 89,
    "b": 215
  },
  "hsl": {
    "h": 265.714,
    "s": 61.165,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58373,
    "c": 0.18685,
    "h": 300.5
  },
  "luminance": 0.17891
}

Semantic roles & 50–950 ramp

primary
#8F59D7
secondary
#C9DEAD
accent
#E4449F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F59D7

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

Preview Lab → · Contrast checker → · Palette generator →

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