#8F58D9#8F58D9

#8F58D9 is a mid, vivid violet. Relative luminance 0.178; OKLCH L 58.4% C 0.191 H 300.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8F58D9
RGBrgb(143, 88, 217)
HSLhsl(266, 63%, 60%)
HSVhsv(266, 59%, 85%)
CMYKcmyk(34.1%, 59.4%, 0%, 14.9%)
CIE-LABlab(49.29, 48.64, -58.08)
CIE-LCHlch(49.29, 75.76, 309.94°)
OKLaboklab(58.36% 0.0959 -0.1647)
OKLCHoklch(58.36% 0.191 300.2)
XYZxyz(27.3388, 17.8286, 67.6331)
Luminance0.1783 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F58D9 #A2D958
analogous
#5862D9 #8F58D9 #CF58D9
triadic
#8F58D9 #D98F58 #58D98F
tetradic
#8F58D9 #D95862 #A2D958 #58D9CF
square
#8F58D9 #D95862 #A2D958 #58D9CF
split-complementary
#8F58D9 #D9CF58 #62D958
monochromatic
#532295 #6F2DC7 #8F58D9 #B08AE4 #D2BCF0

Accessibility & contrast

On white

4.60
#8F58D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#8F58D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F58D9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F58D9#FFFFFF#000000##FFFFFF
##8F58D91.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0875DD
Deuteranopia (green-blind)
#2D74D6
Tritanopia (blue-blind)
#7F7390
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f58d9;
/* rgb */ color: rgb(143, 88, 217);
/* oklch */ color: oklch(58.4% 0.191 300.2);
Tailwind
colors: {
  custom: {
    50: '#b489e5',
    500: '#8f58d9',
    950: '#000000',
  },
}
SCSS
$custom: #8f58d9;
$custom-light: #b489e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f58d9",
  "rgb": {
    "r": 143,
    "g": 88,
    "b": 217
  },
  "hsl": {
    "h": 265.581,
    "s": 62.927,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58358,
    "c": 0.19063,
    "h": 300.2
  },
  "luminance": 0.17829
}

Semantic roles & 50–950 ramp

primary
#8F58D9
secondary
#CADFAD
accent
#E642A0
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F58D9

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

Preview Lab → · Contrast checker → · Palette generator →

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