#8C58DF#8C58DF

#8C58DF is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.5% C 0.197 H 297.7°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8C58DF
RGBrgb(140, 88, 223)
HSLhsl(263, 68%, 61%)
HSVhsv(263, 61%, 87%)
CMYKcmyk(37.2%, 60.5%, 0%, 12.5%)
CIE-LABlab(49.35, 49.49, -61.40)
CIE-LCHlch(49.35, 78.86, 308.87°)
OKLaboklab(58.46% 0.0918 -0.1746)
OKLCHoklch(58.46% 0.197 297.7)
XYZxyz(27.6209, 17.8822, 71.7941)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C58DF #ABDF58
analogous
#5867DF #8C58DF #CF58DF
triadic
#8C58DF #DF8C58 #58DF8C
tetradic
#8C58DF #DF5867 #ABDF58 #58DFCF
square
#8C58DF #DF5867 #ABDF58 #58DFCF
split-complementary
#8C58DF #DFCF58 #67DF58
monochromatic
#501E9E #6928D2 #8C58DF #AF8BE9 #D3BFF3

Accessibility & contrast

On white

4.59
#8C58DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8C58DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8C58DF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C58DF#FFFFFF#000000##FFFFFF
##8C58DF1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E3
Deuteranopia (green-blind)
#1D74DC
Tritanopia (blue-blind)
#797593
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8c58df;
/* rgb */ color: rgb(140, 88, 223);
/* oklch */ color: oklch(58.5% 0.197 297.7);
Tailwind
colors: {
  custom: {
    50: '#b389ea',
    500: '#8c58df',
    950: '#000000',
  },
}
SCSS
$custom: #8c58df;
$custom-light: #b389ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8c58df",
  "rgb": {
    "r": 140,
    "g": 88,
    "b": 223
  },
  "hsl": {
    "h": 263.111,
    "s": 67.839,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58456,
    "c": 0.19723,
    "h": 297.7
  },
  "luminance": 0.17883
}

Semantic roles & 50–950 ramp

primary
#8C58DF
secondary
#CFE3B0
accent
#D01688
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8C58DF

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

Preview Lab → · Contrast checker → · Palette generator →

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