#8D5CFD#8D5CFD

#8D5CFD is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.3% C 0.227 H 292.4°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8D5CFD
RGBrgb(141, 92, 253)
HSLhsl(258, 98%, 68%)
HSVhsv(258, 64%, 99%)
CMYKcmyk(44.3%, 63.6%, 0%, 0.8%)
CIE-LABlab(52.30, 55.39, -73.45)
CIE-LCHlch(52.30, 92.00, 307.02°)
OKLaboklab(61.26% 0.0865 -0.21)
OKLCHoklch(61.26% 0.227 292.4)
XYZxyz(32.5364, 20.4078, 95.1343)
Luminance0.2041 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5CFD #CCFD5C
analogous
#5C7BFD #8D5CFD #DE5CFD
triadic
#8D5CFD #FD8D5C #5CFD8D
tetradic
#8D5CFD #FD5C7B #CCFD5C #5CFDDE
square
#8D5CFD #FD5C7B #CCFD5C #5CFDDE
split-complementary
#8D5CFD #FDDE5C #7BFD5C
monochromatic
#4503DC #6320FC #8D5CFD #B798FE #E2D5FE

Accessibility & contrast

On white

4.13
#8D5CFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#8D5CFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5CFD
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5CFD#FFFFFF#000000##000000
##8D5CFD1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FFF
Deuteranopia (green-blind)
#007AFA
Tritanopia (blue-blind)
#6C82A5
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8d5cfd;
/* rgb */ color: rgb(141, 92, 253);
/* oklch */ color: oklch(61.3% 0.227 292.4);
Tailwind
colors: {
  custom: {
    50: '#b68dff',
    500: '#8d5cfd',
    950: '#000000',
  },
}
SCSS
$custom: #8d5cfd;
$custom-light: #b68dff;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5cfd",
  "rgb": {
    "r": 141,
    "g": 92,
    "b": 253
  },
  "hsl": {
    "h": 258.261,
    "s": 97.576,
    "l": 67.647
  },
  "oklch": {
    "l": 0.61263,
    "c": 0.22712,
    "h": 292.4
  },
  "luminance": 0.20409
}

Semantic roles & 50–950 ramp

primary
#8D5CFD
secondary
#E4F3C1
accent
#E600A0
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #8D5CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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