#8B58CA#8B58CA

#8B58CA is a mid, vivid violet. Relative luminance 0.167; OKLCH L 57.0% C 0.172 H 301.8°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#8B58CA
RGBrgb(139, 88, 202)
HSLhsl(267, 52%, 57%)
HSVhsv(267, 56%, 79%)
CMYKcmyk(31.2%, 56.4%, 0%, 20.8%)
CIE-LABlab(47.92, 43.96, -51.72)
CIE-LCHlch(47.92, 67.88, 310.36°)
OKLaboklab(56.96% 0.0908 -0.1462)
OKLCHoklch(56.96% 0.172 301.8)
XYZxyz(24.7954, 16.7326, 57.7891)
Luminance0.1673 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B58CA #97CA58
analogous
#585ECA #8B58CA #C458CA
triadic
#8B58CA #CA8B58 #58CA8B
tetradic
#8B58CA #CA585E #97CA58 #58CAC4
square
#8B58CA #CA585E #97CA58 #58CAC4
split-complementary
#8B58CA #CAC458 #5ECA58
monochromatic
#4F287F #6C37AE #8B58CA #AB86D9 #CCB5E7

Accessibility & contrast

On white

4.83
#8B58CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#8B58CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B58CA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B58CA#FFFFFF#000000##FFFFFF
##8B58CA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2871CE
Deuteranopia (green-blind)
#3B71C7
Tritanopia (blue-blind)
#7F6F89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b58ca;
/* rgb */ color: rgb(139, 88, 202);
/* oklch */ color: oklch(57.0% 0.172 301.8);
Tailwind
colors: {
  custom: {
    50: '#b089db',
    500: '#8b58ca',
    950: '#000000',
  },
}
SCSS
$custom: #8b58ca;
$custom-light: #b089db;
$custom-dark: #000000;
JSON
{
  "hex": "#8b58ca",
  "rgb": {
    "r": 139,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 266.842,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56961,
    "c": 0.17209,
    "h": 301.8
  },
  "luminance": 0.16733
}

Semantic roles & 50–950 ramp

primary
#8B58CA
secondary
#C1D6A8
accent
#DB4D9B
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B58CA

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

Preview Lab → · Contrast checker → · Palette generator →

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