#8D5FE8#8D5FE8

#8D5FE8 is a mid, vivid violet. Relative luminance 0.197; OKLCH L 60.2% C 0.198 H 295.3°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8D5FE8
RGBrgb(141, 95, 232)
HSLhsl(260, 75%, 64%)
HSVhsv(260, 59%, 91%)
CMYKcmyk(39.2%, 59.1%, 0%, 9%)
CIE-LABlab(51.47, 48.26, -63.07)
CIE-LCHlch(51.47, 79.41, 307.43°)
OKLaboklab(60.21% 0.0847 -0.1795)
OKLCHoklch(60.21% 0.198 295.3)
XYZxyz(29.6384, 19.6727, 78.5640)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FE8 #BAE85F
analogous
#5F76E8 #8D5FE8 #D25FE8
triadic
#8D5FE8 #E88D5F #5FE88D
tetradic
#8D5FE8 #E85F76 #BAE85F #5FE8D2
square
#8D5FE8 #E85F76 #BAE85F #5FE8D2
split-complementary
#8D5FE8 #E8D25F #76E85F
monochromatic
#4D1AB3 #6729E0 #8D5FE8 #B395F0 #D9CAF7

Accessibility & contrast

On white

4.26
#8D5FE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#8D5FE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FE8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FE8#FFFFFF#000000##000000
##8D5FE81.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#1D79E5
Tritanopia (blue-blind)
#767D9B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #8d5fe8;
/* rgb */ color: rgb(141, 95, 232);
/* oklch */ color: oklch(60.2% 0.198 295.3);
Tailwind
colors: {
  custom: {
    50: '#b48ef0',
    500: '#8d5fe8',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fe8;
$custom-light: #b48ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fe8",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 232
  },
  "hsl": {
    "h": 260.146,
    "s": 74.863,
    "l": 64.118
  },
  "oklch": {
    "l": 0.60208,
    "c": 0.19844,
    "h": 295.3
  },
  "luminance": 0.19673
}

Semantic roles & 50–950 ramp

primary
#8D5FE8
secondary
#D9E9BA
accent
#D70E94
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5FE8

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

Preview Lab → · Contrast checker → · Palette generator →

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