#8D5FDF#8D5FDF

#8D5FDF is a mid, vivid violet. Relative luminance 0.192; OKLCH L 59.6% C 0.188 H 296.9°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8D5FDF
RGBrgb(141, 95, 223)
HSLhsl(262, 67%, 62%)
HSVhsv(262, 57%, 87%)
CMYKcmyk(36.8%, 57.4%, 0%, 12.5%)
CIE-LABlab(50.89, 45.92, -58.92)
CIE-LCHlch(50.89, 74.70, 307.93°)
OKLaboklab(59.6% 0.0849 -0.1673)
OKLCHoklch(59.6% 0.188 296.9)
XYZxyz(28.3926, 19.1744, 72.0029)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D5FDF #B1DF5F
analogous
#5F71DF #8D5FDF #CD5FDF
triadic
#8D5FDF #DF8D5F #5FDF8D
tetradic
#8D5FDF #DF5F71 #B1DF5F #5FDFCD
square
#8D5FDF #DF5F71 #B1DF5F #5FDFCD
split-complementary
#8D5FDF #DFCD5F #71DF5F
monochromatic
#4F21A3 #692CD5 #8D5FDF #B192E9 #D6C5F3

Accessibility & contrast

On white

4.34
#8D5FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#8D5FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D5FDF
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D5FDF#FFFFFF#000000##000000
##8D5FDF1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#197AE3
Deuteranopia (green-blind)
#2F78DC
Tritanopia (blue-blind)
#7A7A96
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #8d5fdf;
/* rgb */ color: rgb(141, 95, 223);
/* oklch */ color: oklch(59.6% 0.188 296.9);
Tailwind
colors: {
  custom: {
    50: '#b38eea',
    500: '#8d5fdf',
    950: '#000000',
  },
}
SCSS
$custom: #8d5fdf;
$custom-light: #b38eea;
$custom-dark: #000000;
JSON
{
  "hex": "#8d5fdf",
  "rgb": {
    "r": 141,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 261.563,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.59604,
    "c": 0.18757,
    "h": 296.9
  },
  "luminance": 0.19175
}

Semantic roles & 50–950 ramp

primary
#8D5FDF
secondary
#D3E4B6
accent
#CF178D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8D5FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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