#8B5AE6#8B5AE6

#8B5AE6 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.1% C 0.203 H 295.7°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#8B5AE6
RGBrgb(139, 90, 230)
HSLhsl(261, 74%, 63%)
HSVhsv(261, 61%, 90%)
CMYKcmyk(39.6%, 60.9%, 0%, 9.8%)
CIE-LABlab(50.11, 50.01, -64.13)
CIE-LCHlch(50.11, 81.33, 307.95°)
OKLaboklab(59.13% 0.0878 -0.1827)
OKLCHoklch(59.13% 0.203 295.7)
XYZxyz(28.5828, 18.5139, 76.9152)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5AE6 #B5E65A
analogous
#5A6FE6 #8B5AE6 #D15AE6
triadic
#8B5AE6 #E68B5A #5AE68B
tetradic
#8B5AE6 #E65A6F #B5E65A #5AE6D1
square
#8B5AE6 #E65A6F #B5E65A #5AE6D1
split-complementary
#8B5AE6 #E6D15A #6FE65A
monochromatic
#4D1AAC #6625DE #8B5AE6 #B08FEE #D6C4F6

Accessibility & contrast

On white

4.47
#8B5AE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#8B5AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5AE6
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5AE6#FFFFFF#000000##000000
##8B5AE61.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078EA
Deuteranopia (green-blind)
#0875E3
Tritanopia (blue-blind)
#747998
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b5ae6;
/* rgb */ color: rgb(139, 90, 230);
/* oklch */ color: oklch(59.1% 0.203 295.7);
Tailwind
colors: {
  custom: {
    50: '#b38bef',
    500: '#8b5ae6',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ae6;
$custom-light: #b38bef;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ae6",
  "rgb": {
    "r": 139,
    "g": 90,
    "b": 230
  },
  "hsl": {
    "h": 261,
    "s": 73.684,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59133,
    "c": 0.20268,
    "h": 295.7
  },
  "luminance": 0.18514
}

Semantic roles & 50–950 ramp

primary
#8B5AE6
secondary
#D5E7B5
accent
#D61090
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8B5AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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