#8D56E1#8D56E1

#8D56E1 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.202 H 298.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8D56E1
RGBrgb(141, 86, 225)
HSLhsl(264, 70%, 61%)
HSVhsv(264, 62%, 88%)
CMYKcmyk(37.3%, 61.8%, 0%, 11.8%)
CIE-LABlab(49.20, 51.27, -62.78)
CIE-LCHlch(49.20, 81.06, 309.24°)
OKLaboklab(58.41% 0.0952 -0.1786)
OKLCHoklch(58.41% 0.202 298.1)
XYZxyz(27.8995, 17.7542, 73.1766)
Luminance0.1776 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56E1 #AAE156
analogous
#5664E1 #8D56E1 #D256E1
triadic
#8D56E1 #E18D56 #56E18D
tetradic
#8D56E1 #E15664 #AAE156 #56E1D2
square
#8D56E1 #E15664 #AAE156 #56E1D2
split-complementary
#8D56E1 #E1D256 #64E156
monochromatic
#511CA0 #6B26D4 #8D56E1 #B08AEA #D3BEF3

Accessibility & contrast

On white

4.61
#8D56E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8D56E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8D56E1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56E1#FFFFFF#000000##FFFFFF
##8D56E11.004.614.554.61
#FFFFFF4.611.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#1373DE
Tritanopia (blue-blind)
#797594
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8d56e1;
/* rgb */ color: rgb(141, 86, 225);
/* oklch */ color: oklch(58.4% 0.202 298.1);
Tailwind
colors: {
  custom: {
    50: '#b488eb',
    500: '#8d56e1',
    950: '#000000',
  },
}
SCSS
$custom: #8d56e1;
$custom-light: #b488eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56e1",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 263.741,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58408,
    "c": 0.20241,
    "h": 298.1
  },
  "luminance": 0.17755
}

Semantic roles & 50–950 ramp

primary
#8D56E1
secondary
#CFE4AF
accent
#D21487
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8D56E1

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

Preview Lab → · Contrast checker → · Palette generator →

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