#8F58DF#8F58DF

#8F58DF is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.8% C 0.198 H 299.0°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8F58DF
RGBrgb(143, 88, 223)
HSLhsl(264, 68%, 61%)
HSVhsv(264, 61%, 87%)
CMYKcmyk(35.9%, 60.5%, 0%, 12.5%)
CIE-LABlab(49.67, 50.15, -60.87)
CIE-LCHlch(49.67, 78.86, 309.48°)
OKLaboklab(58.76% 0.0957 -0.1729)
OKLCHoklch(58.76% 0.198 299)
XYZxyz(28.1334, 18.1465, 71.8182)
Luminance0.1815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58DF #A8DF58
analogous
#5864DF #8F58DF #D258DF
triadic
#8F58DF #DF8F58 #58DF8F
tetradic
#8F58DF #DF5864 #A8DF58 #58DFD2
square
#8F58DF #DF5864 #A8DF58 #58DFD2
split-complementary
#8F58DF #DFD258 #64DF58
monochromatic
#521E9E #6D28D2 #8F58DF #B18BE9 #D4BFF3

Accessibility & contrast

On white

4.54
#8F58DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8F58DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F58DF
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58DF#FFFFFF#000000##000000
##8F58DF1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#2375DC
Tritanopia (blue-blind)
#7D7593
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f58df;
/* rgb */ color: rgb(143, 88, 223);
/* oklch */ color: oklch(58.8% 0.198 299.0);
Tailwind
colors: {
  custom: {
    50: '#b58aea',
    500: '#8f58df',
    950: '#000000',
  },
}
SCSS
$custom: #8f58df;
$custom-light: #b58aea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58df",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 264.444,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58762,
    "c": 0.19763,
    "h": 299
  },
  "luminance": 0.18147
}

Semantic roles & 50–950 ramp

primary
#8F58DF
secondary
#CEE3B0
accent
#D01684
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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