#8F58CA#8F58CA

#8F58CA is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.4% C 0.173 H 303.7°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#8F58CA
RGBrgb(143, 88, 202)
HSLhsl(269, 52%, 57%)
HSVhsv(269, 56%, 79%)
CMYKcmyk(29.2%, 56.4%, 0%, 20.8%)
CIE-LABlab(48.36, 44.94, -50.98)
CIE-LCHlch(48.36, 67.97, 311.40°)
OKLaboklab(57.39% 0.0959 -0.1439)
OKLCHoklch(57.39% 0.173 303.7)
XYZxyz(25.4757, 17.0834, 57.8210)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58CA #93CA58
analogous
#585ACA #8F58CA #C858CA
triadic
#8F58CA #CA8F58 #58CA8F
tetradic
#8F58CA #CA585A #93CA58 #58CAC8
square
#8F58CA #CA585A #93CA58 #58CAC8
split-complementary
#8F58CA #CAC858 #5ACA58
monochromatic
#52287F #7037AE #8F58CA #AE86D9 #CDB5E7

Accessibility & contrast

On white

4.75
#8F58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#8F58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F58CA
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58CA#FFFFFF#000000##FFFFFF
##8F58CA1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A72CE
Deuteranopia (green-blind)
#3F73C7
Tritanopia (blue-blind)
#846E89
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f58ca;
/* rgb */ color: rgb(143, 88, 202);
/* oklch */ color: oklch(57.4% 0.173 303.7);
Tailwind
colors: {
  custom: {
    50: '#b389db',
    500: '#8f58ca',
    950: '#000000',
  },
}
SCSS
$custom: #8f58ca;
$custom-light: #b389db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58ca",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 268.947,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57387,
    "c": 0.17297,
    "h": 303.7
  },
  "luminance": 0.17083
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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