#8F58CF#8F58CF

#8F58CF is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.7% C 0.179 H 302.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8F58CF
RGBrgb(143, 88, 207)
HSLhsl(268, 55%, 58%)
HSVhsv(268, 57%, 81%)
CMYKcmyk(30.9%, 57.5%, 0%, 18.8%)
CIE-LABlab(48.67, 46.16, -53.37)
CIE-LCHlch(48.67, 70.57, 310.86°)
OKLaboklab(57.7% 0.096 -0.1509)
OKLCHoklch(57.7% 0.179 302.5)
XYZxyz(26.0773, 17.3241, 60.9894)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58CF #98CF58
analogous
#585CCF #8F58CF #CA58CF
triadic
#8F58CF #CF8F58 #58CF8F
tetradic
#8F58CF #CF585C #98CF58 #58CFCA
square
#8F58CF #CF585C #98CF58 #58CFCA
split-complementary
#8F58CF #CFCA58 #5CCF58
monochromatic
#532786 #7034B6 #8F58CF #AF88DD #CFB7EA

Accessibility & contrast

On white

4.70
#8F58CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#8F58CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F58CF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58CF#FFFFFF#000000##FFFFFF
##8F58CF1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2373D3
Deuteranopia (green-blind)
#3A73CC
Tritanopia (blue-blind)
#83708B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8f58cf;
/* rgb */ color: rgb(143, 88, 207);
/* oklch */ color: oklch(57.7% 0.179 302.5);
Tailwind
colors: {
  custom: {
    50: '#b389de',
    500: '#8f58cf',
    950: '#000000',
  },
}
SCSS
$custom: #8f58cf;
$custom-light: #b389de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58cf",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 207
  },
  "hsl": {
    "h": 267.731,
    "s": 55.349,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57704,
    "c": 0.17887,
    "h": 302.5
  },
  "luminance": 0.17324
}

Semantic roles & 50–950 ramp

primary
#8F58CF
secondary
#C3D9AA
accent
#DF499A
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F58CF

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

Preview Lab → · Contrast checker → · Palette generator →

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