#8B5FF7#8B5FF7

#8B5FF7 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.216 H 292.1°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8B5FF7
RGBrgb(139, 95, 247)
HSLhsl(257, 90%, 67%)
HSVhsv(257, 62%, 97%)
CMYKcmyk(43.7%, 61.5%, 0%, 3.1%)
CIE-LABlab(52.27, 51.82, -70.16)
CIE-LCHlch(52.27, 87.22, 306.45°)
OKLaboklab(61.07% 0.0813 -0.2004)
OKLCHoklch(61.07% 0.216 292.1)
XYZxyz(31.5235, 20.3878, 90.2520)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FF7 #CBF75F
analogous
#5F7FF7 #8B5FF7 #D75FF7
triadic
#8B5FF7 #F78B5F #5FF78B
tetradic
#8B5FF7 #F75F7F #CBF75F #5FF7D7
square
#8B5FF7 #F75F7F #CBF75F #5FF7D7
split-complementary
#8B5FF7 #F7D75F #7FF75F
monochromatic
#440AD1 #6125F4 #8B5FF7 #B599FA #E0D4FD

Accessibility & contrast

On white

4.14
#8B5FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8B5FF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5FF7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FF7#FFFFFF#000000##000000
##8B5FF71.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFC
Deuteranopia (green-blind)
#007AF4
Tritanopia (blue-blind)
#6C82A2
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8b5ff7;
/* rgb */ color: rgb(139, 95, 247);
/* oklch */ color: oklch(61.1% 0.216 292.1);
Tailwind
colors: {
  custom: {
    50: '#b48efb',
    500: '#8b5ff7',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ff7;
$custom-light: #b48efb;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ff7",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 247
  },
  "hsl": {
    "h": 257.368,
    "s": 90.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.61069,
    "c": 0.21627,
    "h": 292.1
  },
  "luminance": 0.20389
}

Semantic roles & 50–950 ramp

primary
#8B5FF7
secondary
#E3F1C1
accent
#E600A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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