#8D5FF4#8D5FF4

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

Color values

HEX#8D5FF4
RGBrgb(141, 95, 244)
HSLhsl(259, 87%, 66%)
HSVhsv(259, 61%, 96%)
CMYKcmyk(42.2%, 61.1%, 0%, 4.3%)
CIE-LABlab(52.26, 51.42, -68.50)
CIE-LCHlch(52.26, 85.65, 306.90°)
OKLaboklab(61.04% 0.0841 -0.1954)
OKLCHoklch(61.04% 0.213 293.3)
XYZxyz(31.4014, 20.3779, 87.8493)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FF4 #C6F45F
analogous
#5F7CF4 #8D5FF4 #D75FF4
triadic
#8D5FF4 #F48D5F #5FF48D
tetradic
#8D5FF4 #F45F7C #C6F45F #5FF4D7
square
#8D5FF4 #F45F7C #C6F45F #5FF4D7
split-complementary
#8D5FF4 #F4D75F #7CF45F
monochromatic
#480ECB #6426F0 #8D5FF4 #B698F8 #DFD2FC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D5FF4#FFFFFF#000000##000000
##8D5FF41.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)
#007EF9
Deuteranopia (green-blind)
#007AF1
Tritanopia (blue-blind)
#7181A1
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d5ff4;
/* rgb */ color: rgb(141, 95, 244);
/* oklch */ color: oklch(61.0% 0.213 293.3);
Tailwind
colors: {
  custom: {
    50: '#b58ef9',
    500: '#8d5ff4',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ff4;
$custom-light: #b58ef9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ff4",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 244
  },
  "hsl": {
    "h": 258.523,
    "s": 87.135,
    "l": 66.471
  },
  "oklch": {
    "l": 0.61042,
    "c": 0.21277,
    "h": 293.3
  },
  "luminance": 0.20379
}

Semantic roles & 50–950 ramp

primary
#8D5FF4
secondary
#E1F0BF
accent
#E4029E
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5FF4

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

Preview Lab → · Contrast checker → · Palette generator →

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