#8F58C8#8F58C8

#8F58C8 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.171 H 304.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8F58C8
RGBrgb(143, 88, 200)
HSLhsl(269, 50%, 56%)
HSVhsv(269, 56%, 78%)
CMYKcmyk(28.5%, 56%, 0%, 21.6%)
CIE-LABlab(48.25, 44.46, -50.02)
CIE-LCHlch(48.25, 66.92, 311.63°)
OKLaboklab(57.26% 0.0959 -0.1411)
OKLCHoklch(57.26% 0.171 304.2)
XYZxyz(25.2404, 16.9893, 56.5819)
Luminance0.1699 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58C8 #91C858
analogous
#5859C8 #8F58C8 #C758C8
triadic
#8F58C8 #C88F58 #58C88F
tetradic
#8F58C8 #C85859 #91C858 #58C8C7
square
#8F58C8 #C85859 #91C858 #58C8C7
split-complementary
#8F58C8 #C8C758 #59C858
monochromatic
#52297D #7038AB #8F58C8 #AE86D7 #CDB4E6

Accessibility & contrast

On white

4.78
#8F58C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#8F58C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F58C8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58C8#FFFFFF#000000##FFFFFF
##8F58C81.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D71CC
Deuteranopia (green-blind)
#4173C5
Tritanopia (blue-blind)
#856E88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f58c8;
/* rgb */ color: rgb(143, 88, 200);
/* oklch */ color: oklch(57.3% 0.171 304.2);
Tailwind
colors: {
  custom: {
    50: '#b389d9',
    500: '#8f58c8',
    950: '#000000',
  },
}
SCSS
$custom: #8f58c8;
$custom-light: #b389d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58c8",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 269.464,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57262,
    "c": 0.17059,
    "h": 304.2
  },
  "luminance": 0.16989
}

Semantic roles & 50–950 ramp

primary
#8F58C8
secondary
#BED5A7
accent
#DA4E95
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #8F58C8

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

Preview Lab → · Contrast checker → · Palette generator →

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