#8D5FFA#8D5FFA

#8D5FFA is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.5% C 0.220 H 292.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8D5FFA
RGBrgb(141, 95, 250)
HSLhsl(258, 94%, 68%)
HSVhsv(258, 62%, 98%)
CMYKcmyk(43.6%, 62%, 0%, 2%)
CIE-LABlab(52.67, 53.01, -71.17)
CIE-LCHlch(52.67, 88.75, 306.68°)
OKLaboklab(61.47% 0.0837 -0.2033)
OKLCHoklch(61.47% 0.22 292.4)
XYZxyz(32.3273, 20.7483, 92.7255)
Luminance0.2075 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FFA #CCFA5F
analogous
#5F7FFA #8D5FFA #DA5FFA
triadic
#8D5FFA #FA8D5F #5FFA8D
tetradic
#8D5FFA #FA5F7F #CCFA5F #5FFADA
square
#8D5FFA #FA5F7F #CCFA5F #5FFADA
split-complementary
#8D5FFA #FADA5F #7FFA5F
monochromatic
#4507D8 #6324F8 #8D5FFA #B79AFC #E2D6FE

Accessibility & contrast

On white

4.08
#8D5FFA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#8D5FFA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FFA
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FFA#FFFFFF#000000##000000
##8D5FFA1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080FF
Deuteranopia (green-blind)
#007BF7
Tritanopia (blue-blind)
#6E83A4
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8d5ffa;
/* rgb */ color: rgb(141, 95, 250);
/* oklch */ color: oklch(61.5% 0.220 292.4);
Tailwind
colors: {
  custom: {
    50: '#b58ffd',
    500: '#8d5ffa',
    950: '#000000',
  },
}
SCSS
$custom: #8d5ffa;
$custom-light: #b58ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5ffa",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 250
  },
  "hsl": {
    "h": 257.806,
    "s": 93.939,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61471,
    "c": 0.21986,
    "h": 292.4
  },
  "luminance": 0.20749
}

Semantic roles & 50–950 ramp

primary
#8D5FFA
secondary
#E4F2C2
accent
#E600A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8D5FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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