#8F59CC#8F59CC

#8F59CC is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.7% C 0.174 H 303.0°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8F59CC
RGBrgb(143, 89, 204)
HSLhsl(268, 53%, 57%)
HSVhsv(268, 56%, 80%)
CMYKcmyk(29.9%, 56.4%, 0%, 20%)
CIE-LABlab(48.69, 44.89, -51.61)
CIE-LCHlch(48.69, 68.40, 311.01°)
OKLaboklab(57.66% 0.0947 -0.1458)
OKLCHoklch(57.66% 0.174 303)
XYZxyz(25.7967, 17.3440, 59.1037)
Luminance0.1734 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F59CC #96CC59
analogous
#595DCC #8F59CC #C859CC
triadic
#8F59CC #CC8F59 #59CC8F
tetradic
#8F59CC #CC595D #96CC59 #59CCC8
square
#8F59CC #CC595D #96CC59 #59CCC8
split-complementary
#8F59CC #CCC859 #5DCC59
monochromatic
#532883 #7036B1 #8F59CC #AF88DA #CEB7E9

Accessibility & contrast

On white

4.70
#8F59CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8F59CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F59CC
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F59CC#FFFFFF#000000##FFFFFF
##8F59CC1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A73D0
Deuteranopia (green-blind)
#3F73C9
Tritanopia (blue-blind)
#84708A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f59cc;
/* rgb */ color: rgb(143, 89, 204);
/* oklch */ color: oklch(57.7% 0.174 303.0);
Tailwind
colors: {
  custom: {
    50: '#b38adc',
    500: '#8f59cc',
    950: '#000000',
  },
}
SCSS
$custom: #8f59cc;
$custom-light: #b38adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f59cc",
  "rgb": {
    "r": 143,
    "g": 89,
    "b": 204
  },
  "hsl": {
    "h": 268.174,
    "s": 52.995,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57664,
    "c": 0.17383,
    "h": 303
  },
  "luminance": 0.17344
}

Semantic roles & 50–950 ramp

primary
#8F59CC
secondary
#C2D8A9
accent
#DC4B98
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F59CC

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

Preview Lab → · Contrast checker → · Palette generator →

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