#8F58CC#8F58CC

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

Color values

HEX#8F58CC
RGBrgb(143, 88, 204)
HSLhsl(268, 53%, 57%)
HSVhsv(268, 57%, 80%)
CMYKcmyk(29.9%, 56.9%, 0%, 20%)
CIE-LABlab(48.48, 45.43, -51.94)
CIE-LCHlch(48.48, 69.01, 311.17°)
OKLaboklab(57.51% 0.096 -0.1467)
OKLCHoklch(57.51% 0.175 303.2)
XYZxyz(25.7140, 17.1787, 59.0762)
Luminance0.1718 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58CC #95CC58
analogous
#585BCC #8F58CC #C958CC
triadic
#8F58CC #CC8F58 #58CC8F
tetradic
#8F58CC #CC585B #95CC58 #58CCC9
square
#8F58CC #CC585B #95CC58 #58CCC9
split-complementary
#8F58CC #CCC958 #5BCC58
monochromatic
#522882 #7036B1 #8F58CC #AE87DA #CEB6E9

Accessibility & contrast

On white

4.73
#8F58CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8F58CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F58CC
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58CC#FFFFFF#000000##FFFFFF
##8F58CC1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2872D0
Deuteranopia (green-blind)
#3D73C9
Tritanopia (blue-blind)
#846F8A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f58cc;
/* rgb */ color: rgb(143, 88, 204);
/* oklch */ color: oklch(57.5% 0.175 303.2);
Tailwind
colors: {
  custom: {
    50: '#b389dc',
    500: '#8f58cc',
    950: '#000000',
  },
}
SCSS
$custom: #8f58cc;
$custom-light: #b389dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58cc",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 268.448,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57513,
    "c": 0.17533,
    "h": 303.2
  },
  "luminance": 0.17179
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F58CC

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

Preview Lab → · Contrast checker → · Palette generator →

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