#8F56DF#8F56DF

#8F56DF is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.5% C 0.200 H 299.3°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8F56DF
RGBrgb(143, 86, 223)
HSLhsl(265, 68%, 61%)
HSVhsv(265, 61%, 87%)
CMYKcmyk(35.9%, 61.4%, 0%, 12.5%)
CIE-LABlab(49.28, 51.20, -61.50)
CIE-LCHlch(49.28, 80.02, 309.78°)
OKLaboklab(58.48% 0.098 -0.1748)
OKLCHoklch(58.48% 0.2 299.3)
XYZxyz(27.9715, 17.8226, 71.7642)
Luminance0.1782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56DF #A6DF56
analogous
#5661DF #8F56DF #D456DF
triadic
#8F56DF #DF8F56 #56DF8F
tetradic
#8F56DF #DF5661 #A6DF56 #56DFD4
square
#8F56DF #DF5661 #A6DF56 #56DFD4
split-complementary
#8F56DF #DFD456 #61DF56
monochromatic
#531E9D #6E27D0 #8F56DF #B189E9 #D3BDF2

Accessibility & contrast

On white

4.60
#8F56DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8F56DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F56DF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56DF#FFFFFF#000000##FFFFFF
##8F56DF1.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E3
Deuteranopia (green-blind)
#1E74DC
Tritanopia (blue-blind)
#7D7493
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f56df;
/* rgb */ color: rgb(143, 86, 223);
/* oklch */ color: oklch(58.5% 0.200 299.3);
Tailwind
colors: {
  custom: {
    50: '#b588ea',
    500: '#8f56df',
    950: '#000000',
  },
}
SCSS
$custom: #8f56df;
$custom-light: #b588ea;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56df",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 223
  },
  "hsl": {
    "h": 264.964,
    "s": 68.159,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58476,
    "c": 0.20038,
    "h": 299.3
  },
  "luminance": 0.17823
}

Semantic roles & 50–950 ramp

primary
#8F56DF
secondary
#CDE2AE
accent
#D01582
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F56DF

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

Preview Lab → · Contrast checker → · Palette generator →

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