#8F58D8#8F58D8

#8F58D8 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.3% C 0.189 H 300.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8F58D8
RGBrgb(143, 88, 216)
HSLhsl(266, 62%, 60%)
HSVhsv(266, 59%, 85%)
CMYKcmyk(33.8%, 59.3%, 0%, 15.3%)
CIE-LABlab(49.22, 48.39, -57.61)
CIE-LCHlch(49.22, 75.24, 310.03°)
OKLaboklab(58.29% 0.0959 -0.1634)
OKLCHoklch(58.29% 0.189 300.4)
XYZxyz(27.2091, 17.7768, 66.9502)
Luminance0.1778 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58D8 #A1D858
analogous
#5861D8 #8F58D8 #CF58D8
triadic
#8F58D8 #D88F58 #58D88F
tetradic
#8F58D8 #D85861 #A1D858 #58D8CF
square
#8F58D8 #D85861 #A1D858 #58D8CF
split-complementary
#8F58D8 #D8CF58 #61D858
monochromatic
#532293 #6F2EC5 #8F58D8 #B08AE4 #D2BBEF

Accessibility & contrast

On white

4.61
#8F58D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8F58D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F58D8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58D8#FFFFFF#000000##FFFFFF
##8F58D81.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D75DC
Deuteranopia (green-blind)
#2F74D5
Tritanopia (blue-blind)
#807390
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f58d8;
/* rgb */ color: rgb(143, 88, 216);
/* oklch */ color: oklch(58.3% 0.189 300.4);
Tailwind
colors: {
  custom: {
    50: '#b489e5',
    500: '#8f58d8',
    950: '#000000',
  },
}
SCSS
$custom: #8f58d8;
$custom-light: #b489e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58d8",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 216
  },
  "hsl": {
    "h": 265.781,
    "s": 62.136,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58291,
    "c": 0.18946,
    "h": 300.4
  },
  "luminance": 0.17777
}

Semantic roles & 50–950 ramp

primary
#8F58D8
secondary
#C9DFAD
accent
#E5439F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8F58D8

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

Preview Lab → · Contrast checker → · Palette generator →

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