#8F58CD#8F58CD

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

Color values

HEX#8F58CD
RGBrgb(143, 88, 205)
HSLhsl(268, 54%, 57%)
HSVhsv(268, 57%, 80%)
CMYKcmyk(30.2%, 57.1%, 0%, 19.6%)
CIE-LABlab(48.54, 45.67, -52.42)
CIE-LCHlch(48.54, 69.53, 311.07°)
OKLaboklab(57.58% 0.096 -0.1481)
OKLCHoklch(57.58% 0.177 302.9)
XYZxyz(25.8344, 17.2269, 59.7099)
Luminance0.1723 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58CD #96CD58
analogous
#585CCD #8F58CD #C958CD
triadic
#8F58CD #CD8F58 #58CD8F
tetradic
#8F58CD #CD585C #96CD58 #58CDC9
square
#8F58CD #CD585C #96CD58 #58CDC9
split-complementary
#8F58CD #CDC958 #5CCD58
monochromatic
#532783 #7035B2 #8F58CD #AF87DB #CEB6E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F58CD#FFFFFF#000000##FFFFFF
##8F58CD1.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)
#2672D1
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#836F8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f58cd;
/* rgb */ color: rgb(143, 88, 205);
/* oklch */ color: oklch(57.6% 0.177 302.9);
Tailwind
colors: {
  custom: {
    50: '#b389dd',
    500: '#8f58cd',
    950: '#000000',
  },
}
SCSS
$custom: #8f58cd;
$custom-light: #b389dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58cd",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 268.205,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57576,
    "c": 0.17651,
    "h": 302.9
  },
  "luminance": 0.17227
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F58CD

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

Preview Lab → · Contrast checker → · Palette generator →

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