#8D5FEF#8D5FEF

#8D5FEF is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.207 H 294.1°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8D5FEF
RGBrgb(141, 95, 239)
HSLhsl(259, 82%, 65%)
HSVhsv(259, 60%, 94%)
CMYKcmyk(41%, 60.3%, 0%, 6.3%)
CIE-LABlab(51.93, 50.10, -66.25)
CIE-LCHlch(51.93, 83.06, 307.10°)
OKLaboklab(60.69% 0.0844 -0.1888)
OKLCHoklch(60.69% 0.207 294.1)
XYZxyz(30.6525, 20.0784, 83.9051)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FEF #C1EF5F
analogous
#5F79EF #8D5FEF #D55FEF
triadic
#8D5FEF #EF8D5F #5FEF8D
tetradic
#8D5FEF #EF5F79 #C1EF5F #5FEFD5
square
#8D5FEF #EF5F79 #C1EF5F #5FEFD5
split-complementary
#8D5FEF #EFD55F #79EF5F
monochromatic
#4B13C0 #6527E9 #8D5FEF #B597F5 #DCCEFA

Accessibility & contrast

On white

4.19
#8D5FEF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8D5FEF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FEF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FEF#FFFFFF#000000##000000
##8D5FEF1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF4
Deuteranopia (green-blind)
#0079EC
Tritanopia (blue-blind)
#737F9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d5fef;
/* rgb */ color: rgb(141, 95, 239);
/* oklch */ color: oklch(60.7% 0.207 294.1);
Tailwind
colors: {
  custom: {
    50: '#b48ef5',
    500: '#8d5fef',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fef;
$custom-light: #b48ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fef",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 239
  },
  "hsl": {
    "h": 259.167,
    "s": 81.818,
    "l": 65.49
  },
  "oklch": {
    "l": 0.6069,
    "c": 0.20683,
    "h": 294.1
  },
  "luminance": 0.20079
}

Semantic roles & 50–950 ramp

primary
#8D5FEF
secondary
#DEEDBD
accent
#DE079A
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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