#8D5FDD#8D5FDD

#8D5FDD is a mid, vivid violet. Relative luminance 0.191; OKLCH L 59.5% C 0.185 H 297.3°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8D5FDD
RGBrgb(141, 95, 221)
HSLhsl(262, 65%, 62%)
HSVhsv(262, 57%, 87%)
CMYKcmyk(36.2%, 57%, 0%, 13.3%)
CIE-LABlab(50.77, 45.40, -57.99)
CIE-LCHlch(50.77, 73.65, 308.06°)
OKLaboklab(59.47% 0.0849 -0.1645)
OKLCHoklch(59.47% 0.185 297.3)
XYZxyz(28.1246, 19.0672, 70.5912)
Luminance0.1907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FDD #AFDD5F
analogous
#5F70DD #8D5FDD #CC5FDD
triadic
#8D5FDD #DD8D5F #5FDD8D
tetradic
#8D5FDD #DD5F70 #AFDD5F #5FDDCC
square
#8D5FDD #DD5F70 #AFDD5F #5FDDCC
split-complementary
#8D5FDD #DDCC5F #70DD5F
monochromatic
#5022A0 #692DD2 #8D5FDD #B191E8 #D5C4F2

Accessibility & contrast

On white

4.36
#8D5FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#8D5FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FDD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FDD#FFFFFF#000000##000000
##8D5FDD1.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E79E1
Deuteranopia (green-blind)
#3277DA
Tritanopia (blue-blind)
#7B7995
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5fdd;
/* rgb */ color: rgb(141, 95, 221);
/* oklch */ color: oklch(59.5% 0.185 297.3);
Tailwind
colors: {
  custom: {
    50: '#b38ee8',
    500: '#8d5fdd',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fdd;
$custom-light: #b38ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fdd",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 261.905,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59472,
    "c": 0.18514,
    "h": 297.3
  },
  "luminance": 0.19068
}

Semantic roles & 50–950 ramp

primary
#8D5FDD
secondary
#D2E3B5
accent
#CD198B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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