#8B5FFD#8B5FFD

#8B5FFD is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.5% C 0.223 H 291.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8B5FFD
RGBrgb(139, 95, 253)
HSLhsl(257, 98%, 68%)
HSVhsv(257, 62%, 99%)
CMYKcmyk(45.1%, 62.5%, 0%, 0.8%)
CIE-LABlab(52.69, 53.43, -72.82)
CIE-LCHlch(52.69, 90.32, 306.27°)
OKLaboklab(61.5% 0.0809 -0.2082)
OKLCHoklch(61.5% 0.223 291.2)
XYZxyz(32.4643, 20.7641, 95.2068)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FFD #D1FD5F
analogous
#5F82FD #8B5FFD #DA5FFD
triadic
#8B5FFD #FD8B5F #5FFD8B
tetradic
#8B5FFD #FD5F82 #D1FD5F #5FFDDA
square
#8B5FFD #FD5F82 #D1FD5F #5FFDDA
split-complementary
#8B5FFD #FDDA5F #82FD5F
monochromatic
#4003DF #5F23FC #8B5FFD #B79BFE #E3D8FF

Accessibility & contrast

On white

4.08
#8B5FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8B5FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5FFD
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FFD#FFFFFF#000000##000000
##8B5FFD1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#007AFA
Tritanopia (blue-blind)
#6884A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8b5ffd;
/* rgb */ color: rgb(139, 95, 253);
/* oklch */ color: oklch(61.5% 0.223 291.2);
Tailwind
colors: {
  custom: {
    50: '#b58eff',
    500: '#8b5ffd',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ffd;
$custom-light: #b58eff;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ffd",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 253
  },
  "hsl": {
    "h": 256.709,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61504,
    "c": 0.22336,
    "h": 291.2
  },
  "luminance": 0.20765
}

Semantic roles & 50–950 ramp

primary
#8B5FFD
secondary
#E7F4C4
accent
#E600A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8B5FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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