#8F58AF#8F58AF

#8F58AF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.8% C 0.141 H 311.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8F58AF
RGBrgb(143, 88, 175)
HSLhsl(278, 35%, 52%)
HSVhsv(278, 50%, 69%)
CMYKcmyk(18.3%, 49.7%, 0%, 31.4%)
CIE-LABlab(46.86, 38.59, -37.70)
CIE-LCHlch(46.86, 53.95, 315.67°)
OKLaboklab(55.79% 0.094 -0.1051)
OKLCHoklch(55.79% 0.141 311.8)
XYZxyz(22.5539, 15.9147, 42.4329)
Luminance0.1591 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58AF #78AF58
analogous
#6458AF #8F58AF #AF58A4
triadic
#8F58AF #AF8F58 #58AF8F
tetradic
#8F58AF #AF6458 #78AF58 #58A4AF
square
#8F58AF #AF6458 #78AF58 #58A4AF
split-complementary
#8F58AF #A4AF58 #58AF64
monochromatic
#4D2E5F #6E4188 #8F58AF #AB81C3 #C7ABD7

Accessibility & contrast

On white

5.02
#8F58AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8F58AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F58AF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58AF#FFFFFF#000000##FFFFFF
##8F58AF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#436CB2
Deuteranopia (green-blind)
#5370AD
Tritanopia (blue-blind)
#8C667B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f58af;
/* rgb */ color: rgb(143, 88, 175);
/* oklch */ color: oklch(55.8% 0.141 311.8);
Tailwind
colors: {
  custom: {
    50: '#b289c7',
    500: '#8f58af',
    950: '#000000',
  },
}
SCSS
$custom: #8f58af;
$custom-light: #b289c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58af",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 175
  },
  "hsl": {
    "h": 277.931,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.55791,
    "c": 0.14105,
    "h": 311.8
  },
  "luminance": 0.15914
}

Semantic roles & 50–950 ramp

primary
#8F58AF
secondary
#ACC59E
accent
#CB5D85
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8F58AF

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

Preview Lab → · Contrast checker → · Palette generator →

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