#8D5BFE#8D5BFE

#8D5BFE is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 61.2% C 0.230 H 292.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8D5BFE
RGBrgb(141, 91, 254)
HSLhsl(258, 99%, 68%)
HSVhsv(258, 64%, 100%)
CMYKcmyk(44.5%, 64.2%, 0%, 0.4%)
CIE-LABlab(52.17, 56.18, -74.20)
CIE-LCHlch(52.17, 93.07, 307.13°)
OKLaboklab(61.2% 0.0874 -0.2122)
OKLCHoklch(61.2% 0.23 292.4)
XYZxyz(32.6100, 20.2996, 95.9468)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5BFE #CCFE5B
analogous
#5B7AFE #8D5BFE #DF5BFE
triadic
#8D5BFE #FE8D5B #5BFE8D
tetradic
#8D5BFE #FE5B7A #CCFE5B #5BFEDF
square
#8D5BFE #FE5B7A #CCFE5B #5BFEDF
split-complementary
#8D5BFE #FEDF5B #7AFE5B
monochromatic
#4501DD #631EFE #8D5BFE #B798FE #E2D5FF

Accessibility & contrast

On white

4.15
#8D5BFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#8D5BFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5BFE
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5BFE#FFFFFF#000000##000000
##8D5BFE1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#0079FB
Tritanopia (blue-blind)
#6C82A5
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d5bfe;
/* rgb */ color: rgb(141, 91, 254);
/* oklch */ color: oklch(61.2% 0.230 292.4);
Tailwind
colors: {
  custom: {
    50: '#b68cff',
    500: '#8d5bfe',
    950: '#000000',
  },
}
SCSS
$custom: #8d5bfe;
$custom-light: #b68cff;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5bfe",
  "rgb": {
    "r": 141,
    "g": 91,
    "b": 254
  },
  "hsl": {
    "h": 258.405,
    "s": 98.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61198,
    "c": 0.2295,
    "h": 292.4
  },
  "luminance": 0.20301
}

Semantic roles & 50–950 ramp

primary
#8D5BFE
secondary
#E4F4C1
accent
#E6009F
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8D5BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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