#8F59CA#8F59CA

#8F59CA is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.5% C 0.171 H 303.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8F59CA
RGBrgb(143, 89, 202)
HSLhsl(269, 52%, 57%)
HSVhsv(269, 56%, 79%)
CMYKcmyk(29.2%, 55.9%, 0%, 20.8%)
CIE-LABlab(48.57, 44.40, -50.65)
CIE-LCHlch(48.57, 67.36, 311.24°)
OKLaboklab(57.54% 0.0947 -0.1429)
OKLCHoklch(57.54% 0.171 303.5)
XYZxyz(25.5584, 17.2487, 57.8485)
Luminance0.1725 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F59CA #94CA59
analogous
#595CCA #8F59CA #C859CA
triadic
#8F59CA #CA8F59 #59CA8F
tetradic
#8F59CA #CA595C #94CA59 #59CAC8
square
#8F59CA #CA595C #94CA59 #59CAC8
split-complementary
#8F59CA #CAC859 #5CCA59
monochromatic
#522980 #7038AE #8F59CA #AE87D9 #CEB6E8

Accessibility & contrast

On white

4.72
#8F59CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8F59CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F59CA
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F59CA#FFFFFF#000000##FFFFFF
##8F59CA1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D72CE
Deuteranopia (green-blind)
#4173C7
Tritanopia (blue-blind)
#846F89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f59ca;
/* rgb */ color: rgb(143, 89, 202);
/* oklch */ color: oklch(57.5% 0.171 303.5);
Tailwind
colors: {
  custom: {
    50: '#b38adb',
    500: '#8f59ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f59ca;
$custom-light: #b38adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f59ca",
  "rgb": {
    "r": 143,
    "g": 89,
    "b": 202
  },
  "hsl": {
    "h": 268.673,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57539,
    "c": 0.17145,
    "h": 303.5
  },
  "luminance": 0.17249
}

Semantic roles & 50–950 ramp

primary
#8F59CA
secondary
#C0D6A8
accent
#DB4D97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F59CA

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

Preview Lab → · Contrast checker → · Palette generator →

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