#8F58DD#8F58DD

#8F58DD is a mid, vivid violet. Relative luminance 0.180; OKLCH L 58.6% C 0.195 H 299.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8F58DD
RGBrgb(143, 88, 221)
HSLhsl(265, 66%, 61%)
HSVhsv(265, 60%, 87%)
CMYKcmyk(35.3%, 60.2%, 0%, 13.3%)
CIE-LABlab(49.54, 49.64, -59.94)
CIE-LCHlch(49.54, 77.83, 309.63°)
OKLaboklab(58.63% 0.0958 -0.1702)
OKLCHoklch(58.63% 0.195 299.4)
XYZxyz(27.8654, 18.0393, 70.4064)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58DD #A6DD58
analogous
#5863DD #8F58DD #D158DD
triadic
#8F58DD #DD8F58 #58DD8F
tetradic
#8F58DD #DD5863 #A6DD58 #58DDD1
square
#8F58DD #DD5863 #A6DD58 #58DDD1
split-complementary
#8F58DD #DDD158 #63DD58
monochromatic
#53209B #6E2ACE #8F58DD #B18BE7 #D3BEF2

Accessibility & contrast

On white

4.56
#8F58DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8F58DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F58DD
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58DD#FFFFFF#000000##000000
##8F58DD1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#2775DA
Tritanopia (blue-blind)
#7E7492
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8f58dd;
/* rgb */ color: rgb(143, 88, 221);
/* oklch */ color: oklch(58.6% 0.195 299.4);
Tailwind
colors: {
  custom: {
    50: '#b48ae8',
    500: '#8f58dd',
    950: '#000000',
  },
}
SCSS
$custom: #8f58dd;
$custom-light: #b48ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58dd",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 264.812,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58626,
    "c": 0.1953,
    "h": 299.4
  },
  "luminance": 0.1804
}

Semantic roles & 50–950 ramp

primary
#8F58DD
secondary
#CDE2AF
accent
#CE1783
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F58DD

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

Preview Lab → · Contrast checker → · Palette generator →

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