#8D5FEE#8D5FEE

#8D5FEE is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.6% C 0.206 H 294.3°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8D5FEE
RGBrgb(141, 95, 238)
HSLhsl(259, 81%, 65%)
HSVhsv(259, 60%, 93%)
CMYKcmyk(40.8%, 60.1%, 0%, 6.7%)
CIE-LABlab(51.86, 49.84, -65.80)
CIE-LCHlch(51.86, 82.54, 307.14°)
OKLaboklab(60.62% 0.0845 -0.1875)
OKLCHoklch(60.62% 0.206 294.3)
XYZxyz(30.5052, 20.0194, 83.1292)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FEE #C0EE5F
analogous
#5F78EE #8D5FEE #D55FEE
triadic
#8D5FEE #EE8D5F #5FEE8D
tetradic
#8D5FEE #EE5F78 #C0EE5F #5FEED5
square
#8D5FEE #EE5F78 #C0EE5F #5FEED5
split-complementary
#8D5FEE #EED55F #78EE5F
monochromatic
#4B14BE #6628E8 #8D5FEE #B496F4 #DCCEFA

Accessibility & contrast

On white

4.20
#8D5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8D5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FEE
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FEE#FFFFFF#000000##000000
##8D5FEE1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF3
Deuteranopia (green-blind)
#0579EB
Tritanopia (blue-blind)
#737F9E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8d5fee;
/* rgb */ color: rgb(141, 95, 238);
/* oklch */ color: oklch(60.6% 0.206 294.3);
Tailwind
colors: {
  custom: {
    50: '#b48ef4',
    500: '#8d5fee',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fee;
$custom-light: #b48ef4;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fee",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 259.301,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.60621,
    "c": 0.20564,
    "h": 294.3
  },
  "luminance": 0.2002
}

Semantic roles & 50–950 ramp

primary
#8D5FEE
secondary
#DDECBC
accent
#DD0899
background
#FBF8FF
surface
#F6F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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