#8B5DE7#8B5DE7

#8B5DE7 is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.6% C 0.200 H 295.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8B5DE7
RGBrgb(139, 93, 231)
HSLhsl(260, 74%, 64%)
HSVhsv(260, 60%, 91%)
CMYKcmyk(39.8%, 59.7%, 0%, 9.4%)
CIE-LABlab(50.79, 48.66, -63.60)
CIE-LCHlch(50.79, 80.08, 307.41°)
OKLaboklab(59.65% 0.0844 -0.1811)
OKLCHoklch(59.65% 0.2 295)
XYZxyz(28.9818, 19.0866, 77.7429)
Luminance0.1909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5DE7 #B9E75D
analogous
#5D74E7 #8B5DE7 #D05DE7
triadic
#8B5DE7 #E78B5D #5DE78B
tetradic
#8B5DE7 #E75D74 #B9E75D #5DE7D0
square
#8B5DE7 #E75D74 #B9E75D #5DE7D0
split-complementary
#8B5DE7 #E7D05D #74E75D
monochromatic
#4C1AB0 #6528DF #8B5DE7 #B192EF #D7C8F7

Accessibility & contrast

On white

4.36
#8B5DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#8B5DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5DE7
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5DE7#FFFFFF#000000##000000
##8B5DE71.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AEB
Deuteranopia (green-blind)
#1477E4
Tritanopia (blue-blind)
#737B99
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8b5de7;
/* rgb */ color: rgb(139, 93, 231);
/* oklch */ color: oklch(59.6% 0.200 295.0);
Tailwind
colors: {
  custom: {
    50: '#b28def',
    500: '#8b5de7',
    950: '#000000',
  },
}
SCSS
$custom: #8b5de7;
$custom-light: #b28def;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5de7",
  "rgb": {
    "r": 139,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 260,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59646,
    "c": 0.19982,
    "h": 295
  },
  "luminance": 0.19087
}

Semantic roles & 50–950 ramp

primary
#8B5DE7
secondary
#D8E8B7
accent
#D60F94
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8B5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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