#8B5AF2#8B5AF2

#8B5AF2 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.0% C 0.217 H 293.7°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8B5AF2
RGBrgb(139, 90, 242)
HSLhsl(259, 85%, 65%)
HSVhsv(259, 63%, 95%)
CMYKcmyk(42.6%, 62.8%, 0%, 5.1%)
CIE-LABlab(50.93, 53.16, -69.54)
CIE-LCHlch(50.93, 87.53, 307.39°)
OKLaboklab(59.99% 0.087 -0.1986)
OKLCHoklch(59.99% 0.217 293.7)
XYZxyz(30.3263, 19.2113, 86.0975)
Luminance0.1921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5AF2 #C1F25A
analogous
#5A75F2 #8B5AF2 #D75AF2
triadic
#8B5AF2 #F28B5A #5AF28B
tetradic
#8B5AF2 #F25A75 #C1F25A #5AF2D7
square
#8B5AF2 #F25A75 #C1F25A #5AF2D7
split-complementary
#8B5AF2 #F2D75A #75F25A
monochromatic
#490FC2 #6321EE #8B5AF2 #B393F6 #DBCBFB

Accessibility & contrast

On white

4.34
#8B5AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8B5AF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5AF2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5AF2#FFFFFF#000000##000000
##8B5AF21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007BF7
Deuteranopia (green-blind)
#0077EF
Tritanopia (blue-blind)
#6F7D9E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5af2;
/* rgb */ color: rgb(139, 90, 242);
/* oklch */ color: oklch(60.0% 0.217 293.7);
Tailwind
colors: {
  custom: {
    50: '#b48bf7',
    500: '#8b5af2',
    950: '#000000',
  },
}
SCSS
$custom: #8b5af2;
$custom-light: #b48bf7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5af2",
  "rgb": {
    "r": 139,
    "g": 90,
    "b": 242
  },
  "hsl": {
    "h": 259.342,
    "s": 85.393,
    "l": 65.098
  },
  "oklch": {
    "l": 0.59988,
    "c": 0.21678,
    "h": 293.7
  },
  "luminance": 0.19212
}

Semantic roles & 50–950 ramp

primary
#8B5AF2
secondary
#DDEEBA
accent
#E2049A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5AF2

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

Preview Lab → · Contrast checker → · Palette generator →

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