#8D5FF0#8D5FF0

#8D5FF0 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.8% C 0.208 H 293.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8D5FF0
RGBrgb(141, 95, 240)
HSLhsl(259, 83%, 66%)
HSVhsv(259, 60%, 94%)
CMYKcmyk(41.3%, 60.4%, 0%, 5.9%)
CIE-LABlab(51.99, 50.36, -66.70)
CIE-LCHlch(51.99, 83.58, 307.06°)
OKLaboklab(60.76% 0.0844 -0.1902)
OKLCHoklch(60.76% 0.208 293.9)
XYZxyz(30.8007, 20.1376, 84.6853)
Luminance0.2014 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FF0 #C2F05F
analogous
#5F7AF0 #8D5FF0 #D55FF0
triadic
#8D5FF0 #F08D5F #5FF08D
tetradic
#8D5FF0 #F05F7A #C2F05F #5FF0D5
square
#8D5FF0 #F05F7A #C2F05F #5FF0D5
split-complementary
#8D5FF0 #F0D55F #7AF05F
monochromatic
#4A12C2 #6527EB #8D5FF0 #B597F5 #DDCFFA

Accessibility & contrast

On white

4.18
#8D5FF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#8D5FF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FF0
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FF0#FFFFFF#000000##000000
##8D5FF01.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF5
Deuteranopia (green-blind)
#0079ED
Tritanopia (blue-blind)
#73809F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d5ff0;
/* rgb */ color: rgb(141, 95, 240);
/* oklch */ color: oklch(60.8% 0.208 293.9);
Tailwind
colors: {
  custom: {
    50: '#b48ef6',
    500: '#8d5ff0',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ff0;
$custom-light: #b48ef6;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ff0",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 240
  },
  "hsl": {
    "h": 259.034,
    "s": 82.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.6076,
    "c": 0.20802,
    "h": 293.9
  },
  "luminance": 0.20138
}

Semantic roles & 50–950 ramp

primary
#8D5FF0
secondary
#DEEEBD
accent
#DF069A
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5FF0

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

Preview Lab → · Contrast checker → · Palette generator →

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