#8B5FD0#8B5FD0

#8B5FD0 is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.4% C 0.169 H 299.1°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8B5FD0
RGBrgb(139, 95, 208)
HSLhsl(263, 55%, 59%)
HSVhsv(263, 54%, 82%)
CMYKcmyk(33.2%, 54.3%, 0%, 18.4%)
CIE-LABlab(49.77, 41.59, -52.20)
CIE-LCHlch(49.77, 66.74, 308.55°)
OKLaboklab(58.44% 0.0821 -0.1476)
OKLCHoklch(58.44% 0.169 299.1)
XYZxyz(26.1221, 18.2272, 61.8043)
Luminance0.1823 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FD0 #A4D05F
analogous
#5F6CD0 #8B5FD0 #C45FD0
triadic
#8B5FD0 #D08B5F #5FD08B
tetradic
#8B5FD0 #D05F6C #A4D05F #5FD0C4
square
#8B5FD0 #D05F6C #A4D05F #5FD0C4
split-complementary
#8B5FD0 #D0C45F #6CD05F
monochromatic
#4F298C #6A37BB #8B5FD0 #AD8EDE #D0BEEC

Accessibility & contrast

On white

4.52
#8B5FD0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#8B5FD0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5FD0
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FD0#FFFFFF#000000##000000
##8B5FD01.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3176D4
Deuteranopia (green-blind)
#3F75CD
Tritanopia (blue-blind)
#7C758E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b5fd0;
/* rgb */ color: rgb(139, 95, 208);
/* oklch */ color: oklch(58.4% 0.169 299.1);
Tailwind
colors: {
  custom: {
    50: '#b08edf',
    500: '#8b5fd0',
    950: '#000000',
  },
}
SCSS
$custom: #8b5fd0;
$custom-light: #b08edf;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5fd0",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 208
  },
  "hsl": {
    "h": 263.363,
    "s": 54.589,
    "l": 59.412
  },
  "oklch": {
    "l": 0.58438,
    "c": 0.16889,
    "h": 299.1
  },
  "luminance": 0.18227
}

Semantic roles & 50–950 ramp

primary
#8B5FD0
secondary
#CADBAF
accent
#DE4AA4
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B5FD0

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

Preview Lab → · Contrast checker → · Palette generator →

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