#8B58F2#8B58F2

#8B58F2 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.219 H 294.0°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8B58F2
RGBrgb(139, 88, 242)
HSLhsl(260, 86%, 65%)
HSVhsv(260, 64%, 95%)
CMYKcmyk(42.6%, 63.6%, 0%, 5.1%)
CIE-LABlab(50.54, 54.21, -70.17)
CIE-LCHlch(50.54, 88.67, 307.69°)
OKLaboklab(59.71% 0.0891 -0.2004)
OKLCHoklch(59.71% 0.219 294)
XYZxyz(30.1599, 18.8784, 86.0420)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B58F2 #BFF258
analogous
#5872F2 #8B58F2 #D858F2
triadic
#8B58F2 #F28B58 #58F28B
tetradic
#8B58F2 #F25872 #BFF258 #58F2D8
square
#8B58F2 #F25872 #BFF258 #58F2D8
split-complementary
#8B58F2 #F2D858 #72F258
monochromatic
#4A0FC1 #641FEE #8B58F2 #B291F6 #DACAFB

Accessibility & contrast

On white

4.40
#8B58F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8B58F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B58F2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B58F2#FFFFFF#000000##000000
##8B58F21.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF7
Deuteranopia (green-blind)
#0076EF
Tritanopia (blue-blind)
#6F7C9D
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b58f2;
/* rgb */ color: rgb(139, 88, 242);
/* oklch */ color: oklch(59.7% 0.219 294.0);
Tailwind
colors: {
  custom: {
    50: '#b48af7',
    500: '#8b58f2',
    950: '#000000',
  },
}
SCSS
$custom: #8b58f2;
$custom-light: #b48af7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b58f2",
  "rgb": {
    "r": 139,
    "g": 88,
    "b": 242
  },
  "hsl": {
    "h": 259.87,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.59706,
    "c": 0.21931,
    "h": 294
  },
  "luminance": 0.18879
}

Semantic roles & 50–950 ramp

primary
#8B58F2
secondary
#DCEDB8
accent
#E20398
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B58F2

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

Preview Lab → · Contrast checker → · Palette generator →

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