#8B5FFE#8B5FFE

#8B5FFE is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.6% C 0.225 H 291.1°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#8B5FFE
RGBrgb(139, 95, 254)
HSLhsl(257, 99%, 68%)
HSVhsv(257, 63%, 100%)
CMYKcmyk(45.3%, 62.6%, 0%, 0.4%)
CIE-LABlab(52.76, 53.70, -73.26)
CIE-LCHlch(52.76, 90.83, 306.24°)
OKLaboklab(61.58% 0.0808 -0.2095)
OKLCHoklch(61.58% 0.225 291.1)
XYZxyz(32.6241, 20.8280, 96.0480)
Luminance0.2083 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FFE #D2FE5F
analogous
#5F82FE #8B5FFE #DB5FFE
triadic
#8B5FFE #FE8B5F #5FFE8B
tetradic
#8B5FFE #FE5F82 #D2FE5F #5FFEDB
square
#8B5FFE #FE5F82 #D2FE5F #5FFEDB
split-complementary
#8B5FFE #FEDB5F #82FE5F
monochromatic
#3F01E1 #5F22FE #8B5FFE #B79CFE #E3D9FF

Accessibility & contrast

On white

4.07
#8B5FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#8B5FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5FFE
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FFE#FFFFFF#000000##000000
##8B5FFE1.004.075.175.17
#FFFFFF4.071.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b5ffe;
/* rgb */ color: rgb(139, 95, 254);
/* oklch */ color: oklch(61.6% 0.225 291.1);
Tailwind
colors: {
  custom: {
    50: '#b58fff',
    500: '#8b5ffe',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ffe;
$custom-light: #b58fff;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ffe",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 256.604,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.61577,
    "c": 0.22453,
    "h": 291.1
  },
  "luminance": 0.20829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8B5FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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