#8D56E7#8D56E7

#8D56E7 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.209 H 296.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8D56E7
RGBrgb(141, 86, 231)
HSLhsl(263, 75%, 62%)
HSVhsv(263, 63%, 91%)
CMYKcmyk(39%, 62.8%, 0%, 9.4%)
CIE-LABlab(49.60, 52.80, -65.51)
CIE-LCHlch(49.60, 84.14, 308.87°)
OKLaboklab(58.83% 0.0948 -0.1866)
OKLCHoklch(58.83% 0.209 296.9)
XYZxyz(28.7324, 18.0873, 77.5632)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D56E7 #B0E756
analogous
#5667E7 #8D56E7 #D656E7
triadic
#8D56E7 #E78D56 #56E78D
tetradic
#8D56E7 #E75667 #B0E756 #56E7D6
square
#8D56E7 #E75667 #B0E756 #56E7D6
split-complementary
#8D56E7 #E7D656 #67E756
monochromatic
#5018AA #6920DF #8D56E7 #B18CEF #D5C1F6

Accessibility & contrast

On white

4.55
#8D56E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#8D56E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D56E7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D56E7#FFFFFF#000000##000000
##8D56E71.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0074E4
Tritanopia (blue-blind)
#777797
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8d56e7;
/* rgb */ color: rgb(141, 86, 231);
/* oklch */ color: oklch(58.8% 0.209 296.9);
Tailwind
colors: {
  custom: {
    50: '#b488ef',
    500: '#8d56e7',
    950: '#000000',
  },
}
SCSS
$custom: #8d56e7;
$custom-light: #b488ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8d56e7",
  "rgb": {
    "r": 141,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 262.759,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58831,
    "c": 0.20934,
    "h": 296.9
  },
  "luminance": 0.18088
}

Semantic roles & 50–950 ramp

primary
#8D56E7
secondary
#D3E7B2
accent
#D70E8B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8D56E7

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

Preview Lab → · Contrast checker → · Palette generator →

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