#8D5FFE#8D5FFE

#8D5FFE is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.8% C 0.225 H 291.8°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8D5FFE
RGBrgb(141, 95, 254)
HSLhsl(257, 99%, 68%)
HSVhsv(257, 63%, 100%)
CMYKcmyk(44.5%, 62.6%, 0%, 0.4%)
CIE-LABlab(52.95, 54.08, -72.94)
CIE-LCHlch(52.95, 90.80, 306.55°)
OKLaboklab(61.76% 0.0834 -0.2085)
OKLCHoklch(61.76% 0.225 291.8)
XYZxyz(32.9611, 21.0018, 96.0638)
Luminance0.2100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FFE #D0FE5F
analogous
#5F80FE #8D5FFE #DC5FFE
triadic
#8D5FFE #FE8D5F #5FFE8D
tetradic
#8D5FFE #FE5F80 #D0FE5F #5FFEDC
square
#8D5FFE #FE5F80 #D0FE5F #5FFEDC
split-complementary
#8D5FFE #FEDC5F #80FE5F
monochromatic
#4201E1 #6222FE #8D5FFE #B89CFE #E4D9FF

Accessibility & contrast

On white

4.04
#8D5FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#8D5FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FFE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FFE#FFFFFF#000000##000000
##8D5FFE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d5ffe;
/* rgb */ color: rgb(141, 95, 254);
/* oklch */ color: oklch(61.8% 0.225 291.8);
Tailwind
colors: {
  custom: {
    50: '#b68fff',
    500: '#8d5ffe',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ffe;
$custom-light: #b68fff;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ffe",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 254
  },
  "hsl": {
    "h": 257.358,
    "s": 98.758,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6176,
    "c": 0.22455,
    "h": 291.8
  },
  "luminance": 0.21003
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8D5FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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