#8B5FF9#8B5FF9

#8B5FF9 is a mid, highly saturated violet. Relative luminance 0.205; OKLCH L 61.2% C 0.219 H 291.8°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8B5FF9
RGBrgb(139, 95, 249)
HSLhsl(257, 93%, 67%)
HSVhsv(257, 62%, 98%)
CMYKcmyk(44.2%, 61.8%, 0%, 2.4%)
CIE-LABlab(52.41, 52.36, -71.05)
CIE-LCHlch(52.41, 88.26, 306.39°)
OKLaboklab(61.21% 0.0812 -0.203)
OKLCHoklch(61.21% 0.219 291.8)
XYZxyz(31.8338, 20.5119, 91.8861)
Luminance0.2051 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FF9 #CDF95F
analogous
#5F80F9 #8B5FF9 #D85FF9
triadic
#8B5FF9 #F98B5F #5FF98B
tetradic
#8B5FF9 #F95F80 #CDF95F #5FF9D8
square
#8B5FF9 #F95F80 #CDF95F #5FF9D8
split-complementary
#8B5FF9 #F9D85F #80F95F
monochromatic
#4308D6 #6024F7 #8B5FF9 #B69AFB #E1D5FD

Accessibility & contrast

On white

4.12
#8B5FF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#8B5FF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5FF9
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FF9#FFFFFF#000000##000000
##8B5FF91.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFE
Deuteranopia (green-blind)
#007AF6
Tritanopia (blue-blind)
#6B83A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b5ff9;
/* rgb */ color: rgb(139, 95, 249);
/* oklch */ color: oklch(61.2% 0.219 291.8);
Tailwind
colors: {
  custom: {
    50: '#b48efc',
    500: '#8b5ff9',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ff9;
$custom-light: #b48efc;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ff9",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 249
  },
  "hsl": {
    "h": 257.143,
    "s": 92.771,
    "l": 67.451
  },
  "oklch": {
    "l": 0.61213,
    "c": 0.21864,
    "h": 291.8
  },
  "luminance": 0.20513
}

Semantic roles & 50–950 ramp

primary
#8B5FF9
secondary
#E4F2C2
accent
#E600A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8B5FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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