#8D56F5#8D56F5

#8D56F5 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.8% C 0.225 H 294.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8D56F5
RGBrgb(141, 86, 245)
HSLhsl(261, 89%, 65%)
HSVhsv(261, 65%, 96%)
CMYKcmyk(42.4%, 64.9%, 0%, 3.9%)
CIE-LABlab(50.58, 56.40, -71.78)
CIE-LCHlch(50.58, 91.29, 308.16°)
OKLaboklab(59.85% 0.0934 -0.2051)
OKLCHoklch(59.85% 0.225 294.5)
XYZxyz(30.7893, 18.9101, 88.3963)
Luminance0.1891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56F5 #BEF556
analogous
#566EF5 #8D56F5 #DD56F5
triadic
#8D56F5 #F58D56 #56F58D
tetradic
#8D56F5 #F5566E #BEF556 #56F5DD
square
#8D56F5 #F5566E #BEF556 #56F5DD
split-complementary
#8D56F5 #F5DD56 #6EF556
monochromatic
#4C0CC5 #661CF2 #8D56F5 #B490F8 #DBCAFC

Accessibility & contrast

On white

4.39
#8D56F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#8D56F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D56F5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56F5#FFFFFF#000000##000000
##8D56F51.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AFA
Deuteranopia (green-blind)
#0076F2
Tritanopia (blue-blind)
#717C9E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8d56f5;
/* rgb */ color: rgb(141, 86, 245);
/* oklch */ color: oklch(59.8% 0.225 294.5);
Tailwind
colors: {
  custom: {
    50: '#b589f9',
    500: '#8d56f5',
    950: '#000000',
  },
}
SCSS
$custom: #8d56f5;
$custom-light: #b589f9;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56f5",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 245
  },
  "hsl": {
    "h": 260.755,
    "s": 88.827,
    "l": 64.902
  },
  "oklch": {
    "l": 0.59848,
    "c": 0.22536,
    "h": 294.5
  },
  "luminance": 0.18911
}

Semantic roles & 50–950 ramp

primary
#8D56F5
secondary
#DCEFB8
accent
#E50096
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D56F5

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

Preview Lab → · Contrast checker → · Palette generator →

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