#8C58EB#8C58EB

#8C58EB is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.211 H 295.5°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#8C58EB
RGBrgb(140, 88, 235)
HSLhsl(261, 79%, 63%)
HSVhsv(261, 63%, 92%)
CMYKcmyk(40.4%, 62.6%, 0%, 7.8%)
CIE-LABlab(50.16, 52.58, -66.87)
CIE-LCHlch(50.16, 85.06, 308.18°)
OKLaboklab(59.3% 0.091 -0.1907)
OKLCHoklch(59.3% 0.211 295.5)
XYZxyz(29.2964, 18.5524, 80.6186)
Luminance0.1855 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C58EB #B7EB58
analogous
#586DEB #8C58EB #D558EB
triadic
#8C58EB #EB8C58 #58EB8C
tetradic
#8C58EB #EB586D #B7EB58 #58EBD5
square
#8C58EB #EB586D #B7EB58 #58EBD5
split-complementary
#8C58EB #EBD558 #6DEB58
monochromatic
#4D15B3 #6621E4 #8C58EB #B28FF2 #D7C5F8

Accessibility & contrast

On white

4.46
#8C58EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#8C58EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C58EB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C58EB#FFFFFF#000000##000000
##8C58EB1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#0075E8
Tritanopia (blue-blind)
#74799A
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8c58eb;
/* rgb */ color: rgb(140, 88, 235);
/* oklch */ color: oklch(59.3% 0.211 295.5);
Tailwind
colors: {
  custom: {
    50: '#b48af2',
    500: '#8c58eb',
    950: '#000000',
  },
}
SCSS
$custom: #8c58eb;
$custom-light: #b48af2;
$custom-dark: #000000;
JSON
{
  "hex": "#8c58eb",
  "rgb": {
    "r": 140,
    "g": 88,
    "b": 235
  },
  "hsl": {
    "h": 261.224,
    "s": 78.61,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59297,
    "c": 0.21127,
    "h": 295.5
  },
  "luminance": 0.18553
}

Semantic roles & 50–950 ramp

primary
#8C58EB
secondary
#D7EAB5
accent
#DB0B91
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8C58EB

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

Preview Lab → · Contrast checker → · Palette generator →

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