#8D5FEB#8D5FEB

#8D5FEB is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.4% C 0.202 H 294.7°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8D5FEB
RGBrgb(141, 95, 235)
HSLhsl(260, 78%, 65%)
HSVhsv(260, 60%, 92%)
CMYKcmyk(40%, 59.6%, 0%, 7.8%)
CIE-LABlab(51.66, 49.05, -64.43)
CIE-LCHlch(51.66, 80.98, 307.28°)
OKLaboklab(60.41% 0.0846 -0.1835)
OKLCHoklch(60.41% 0.202 294.7)
XYZxyz(30.0681, 19.8446, 80.8273)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FEB #BDEB5F
analogous
#5F77EB #8D5FEB #D35FEB
triadic
#8D5FEB #EB8D5F #5FEB8D
tetradic
#8D5FEB #EB5F77 #BDEB5F #5FEBD3
square
#8D5FEB #EB5F77 #BDEB5F #5FEBD3
split-complementary
#8D5FEB #EBD35F #77EB5F
monochromatic
#4C17B9 #6629E4 #8D5FEB #B495F2 #DBCCF9

Accessibility & contrast

On white

4.23
#8D5FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#8D5FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FEB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FEB#FFFFFF#000000##000000
##8D5FEB1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CF0
Deuteranopia (green-blind)
#1479E8
Tritanopia (blue-blind)
#757E9C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5feb;
/* rgb */ color: rgb(141, 95, 235);
/* oklch */ color: oklch(60.4% 0.202 294.7);
Tailwind
colors: {
  custom: {
    50: '#b48ef2',
    500: '#8d5feb',
    950: '#000000',
  },
}
SCSS
$custom: #8d5feb;
$custom-light: #b48ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5feb",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 259.714,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60413,
    "c": 0.20205,
    "h": 294.7
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

primary
#8D5FEB
secondary
#DBEBBB
accent
#DA0B96
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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