#8D5DFA#8D5DFA

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

Color values

HEX#8D5DFA
RGBrgb(141, 93, 250)
HSLhsl(258, 94%, 67%)
HSVhsv(258, 63%, 98%)
CMYKcmyk(43.6%, 62.8%, 0%, 2%)
CIE-LABlab(52.28, 54.07, -71.81)
CIE-LCHlch(52.28, 89.89, 306.98°)
OKLaboklab(61.18% 0.0858 -0.2052)
OKLCHoklch(61.18% 0.222 292.7)
XYZxyz(32.1494, 20.3926, 92.6662)
Luminance0.2039 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5DFA #CAFA5D
analogous
#5D7CFA #8D5DFA #DC5DFA
triadic
#8D5DFA #FA8D5D #5DFA8D
tetradic
#8D5DFA #FA5D7C #CAFA5D #5DFADC
square
#8D5DFA #FA5D7C #CAFA5D #5DFADC
split-complementary
#8D5DFA #FADC5D #7CFA5D
monochromatic
#4607D6 #6322F8 #8D5DFA #B798FC #E1D4FE

Accessibility & contrast

On white

4.13
#8D5DFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##8D5DFA#FFFFFF#000000##000000
##8D5DFA1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#007AF7
Tritanopia (blue-blind)
#6E82A3
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d5dfa;
/* rgb */ color: rgb(141, 93, 250);
/* oklch */ color: oklch(61.2% 0.222 292.7);
Tailwind
colors: {
  custom: {
    50: '#b68dfd',
    500: '#8d5dfa',
    950: '#000000',
  },
}
SCSS
$custom: #8d5dfa;
$custom-light: #b68dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5dfa",
  "rgb": {
    "r": 141,
    "g": 93,
    "b": 250
  },
  "hsl": {
    "h": 258.344,
    "s": 94.012,
    "l": 67.255
  },
  "oklch": {
    "l": 0.61184,
    "c": 0.22239,
    "h": 292.7
  },
  "luminance": 0.20394
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D5DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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