#8D5FFD#8D5FFD

#8D5FFD is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.7% C 0.223 H 291.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8D5FFD
RGBrgb(141, 95, 253)
HSLhsl(257, 98%, 68%)
HSVhsv(257, 62%, 99%)
CMYKcmyk(44.3%, 62.5%, 0%, 0.8%)
CIE-LABlab(52.88, 53.81, -72.50)
CIE-LCHlch(52.88, 90.29, 306.58°)
OKLaboklab(61.69% 0.0835 -0.2072)
OKLCHoklch(61.69% 0.223 291.9)
XYZxyz(32.8014, 20.9379, 95.2226)
Luminance0.2094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FFD #CFFD5F
analogous
#5F80FD #8D5FFD #DC5FFD
triadic
#8D5FFD #FD8D5F #5FFD8D
tetradic
#8D5FFD #FD5F80 #CFFD5F #5FFDDC
square
#8D5FFD #FD5F80 #CFFD5F #5FFDDC
split-complementary
#8D5FFD #FDDC5F #80FD5F
monochromatic
#4303DF #6223FC #8D5FFD #B89BFE #E3D8FF

Accessibility & contrast

On white

4.05
#8D5FFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8D5FFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FFD
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FFD#FFFFFF#000000##000000
##8D5FFD1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FF
Deuteranopia (green-blind)
#007BFA
Tritanopia (blue-blind)
#6C84A6
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d5ffd;
/* rgb */ color: rgb(141, 95, 253);
/* oklch */ color: oklch(61.7% 0.223 291.9);
Tailwind
colors: {
  custom: {
    50: '#b68fff',
    500: '#8d5ffd',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ffd;
$custom-light: #b68fff;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ffd",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 253
  },
  "hsl": {
    "h": 257.468,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.61688,
    "c": 0.22338,
    "h": 291.9
  },
  "luminance": 0.20939
}

Semantic roles & 50–950 ramp

primary
#8D5FFD
secondary
#E6F4C4
accent
#E600A3
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8D5FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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