#8B58DE#8B58DE

#8B58DE is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.196 H 297.5°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8B58DE
RGBrgb(139, 88, 222)
HSLhsl(263, 67%, 61%)
HSVhsv(263, 60%, 87%)
CMYKcmyk(37.4%, 60.4%, 0%, 12.9%)
CIE-LABlab(49.18, 49.02, -61.11)
CIE-LCHlch(49.18, 78.34, 308.73°)
OKLaboklab(58.29% 0.0905 -0.1738)
OKLCHoklch(58.29% 0.196 297.5)
XYZxyz(27.3187, 17.7419, 71.0783)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B58DE #ABDE58
analogous
#5868DE #8B58DE #CE58DE
triadic
#8B58DE #DE8B58 #58DE8B
tetradic
#8B58DE #DE5868 #ABDE58 #58DECE
square
#8B58DE #DE5868 #ABDE58 #58DECE
split-complementary
#8B58DE #DECE58 #68DE58
monochromatic
#4F1F9D #6829D0 #8B58DE #AE8BE8 #D2BEF2

Accessibility & contrast

On white

4.62
#8B58DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8B58DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8B58DE
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B58DE#FFFFFF#000000##FFFFFF
##8B58DE1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E2
Deuteranopia (green-blind)
#1D73DB
Tritanopia (blue-blind)
#777593
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8b58de;
/* rgb */ color: rgb(139, 88, 222);
/* oklch */ color: oklch(58.3% 0.196 297.5);
Tailwind
colors: {
  custom: {
    50: '#b289e9',
    500: '#8b58de',
    950: '#000000',
  },
}
SCSS
$custom: #8b58de;
$custom-light: #b289e9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b58de",
  "rgb": {
    "r": 139,
    "g": 88,
    "b": 222
  },
  "hsl": {
    "h": 262.836,
    "s": 67,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58286,
    "c": 0.19594,
    "h": 297.5
  },
  "luminance": 0.17742
}

Semantic roles & 50–950 ramp

primary
#8B58DE
secondary
#CFE2B0
accent
#CF1789
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B58DE

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

Preview Lab → · Contrast checker → · Palette generator →

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