#8F58DA#8F58DA

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

Color values

HEX#8F58DA
RGBrgb(143, 88, 218)
HSLhsl(265, 64%, 60%)
HSVhsv(265, 60%, 85%)
CMYKcmyk(34.4%, 59.6%, 0%, 14.5%)
CIE-LABlab(49.35, 48.89, -58.55)
CIE-LCHlch(49.35, 76.28, 309.86°)
OKLaboklab(58.43% 0.0959 -0.1661)
OKLCHoklch(58.43% 0.192 300)
XYZxyz(27.4692, 17.8808, 68.3202)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58DA #A3DA58
analogous
#5862DA #8F58DA #D058DA
triadic
#8F58DA #DA8F58 #58DA8F
tetradic
#8F58DA #DA5862 #A3DA58 #58DAD0
square
#8F58DA #DA5862 #A3DA58 #58DAD0
split-complementary
#8F58DA #DAD058 #62DA58
monochromatic
#532196 #6E2CC8 #8F58DA #B18AE5 #D2BCF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F58DA#FFFFFF#000000##FFFFFF
##8F58DA1.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)
#0375DE
Deuteranopia (green-blind)
#2C74D7
Tritanopia (blue-blind)
#7F7391
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f58da;
/* rgb */ color: rgb(143, 88, 218);
/* oklch */ color: oklch(58.4% 0.192 300.0);
Tailwind
colors: {
  custom: {
    50: '#b489e6',
    500: '#8f58da',
    950: '#000000',
  },
}
SCSS
$custom: #8f58da;
$custom-light: #b489e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58da",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 218
  },
  "hsl": {
    "h": 265.385,
    "s": 63.725,
    "l": 60
  },
  "oklch": {
    "l": 0.58425,
    "c": 0.1918,
    "h": 300
  },
  "luminance": 0.17881
}

Semantic roles & 50–950 ramp

primary
#8F58DA
secondary
#CBE0AE
accent
#E741A1
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F58DA

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

Preview Lab → · Contrast checker → · Palette generator →

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