#8B5EF4#8B5EF4

#8B5EF4 is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.7% C 0.214 H 292.7°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8B5EF4
RGBrgb(139, 94, 244)
HSLhsl(258, 87%, 66%)
HSVhsv(258, 61%, 96%)
CMYKcmyk(43%, 61.5%, 0%, 4.3%)
CIE-LABlab(51.87, 51.56, -69.15)
CIE-LCHlch(51.87, 86.25, 306.71°)
OKLaboklab(60.71% 0.0826 -0.1974)
OKLCHoklch(60.71% 0.214 292.7)
XYZxyz(30.9748, 20.0251, 87.8036)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5EF4 #C7F45E
analogous
#5E7CF4 #8B5EF4 #D65EF4
triadic
#8B5EF4 #F48B5E #5EF48B
tetradic
#8B5EF4 #F45E7C #C7F45E #5EF4D6
square
#8B5EF4 #F45E7C #C7F45E #5EF4D6
split-complementary
#8B5EF4 #F4D65E #7CF45E
monochromatic
#460ECA #6225F0 #8B5EF4 #B497F8 #DED1FC

Accessibility & contrast

On white

4.20
#8B5EF4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#8B5EF4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5EF4
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5EF4#FFFFFF#000000##000000
##8B5EF41.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF9
Deuteranopia (green-blind)
#0079F1
Tritanopia (blue-blind)
#6D80A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b5ef4;
/* rgb */ color: rgb(139, 94, 244);
/* oklch */ color: oklch(60.7% 0.214 292.7);
Tailwind
colors: {
  custom: {
    50: '#b48ef9',
    500: '#8b5ef4',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ef4;
$custom-light: #b48ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ef4",
  "rgb": {
    "r": 139,
    "g": 94,
    "b": 244
  },
  "hsl": {
    "h": 258,
    "s": 87.209,
    "l": 66.275
  },
  "oklch": {
    "l": 0.60708,
    "c": 0.21399,
    "h": 292.7
  },
  "luminance": 0.20026
}

Semantic roles & 50–950 ramp

primary
#8B5EF4
secondary
#E1EFBE
accent
#E402A0
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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