#8F56CE#8F56CE

#8F56CE is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.181 H 303.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8F56CE
RGBrgb(143, 86, 206)
HSLhsl(269, 55%, 57%)
HSVhsv(269, 58%, 81%)
CMYKcmyk(30.6%, 58.3%, 0%, 19.2%)
CIE-LABlab(48.20, 46.99, -53.55)
CIE-LCHlch(48.20, 71.24, 311.27°)
OKLaboklab(57.34% 0.0985 -0.1514)
OKLCHoklch(57.34% 0.181 303)
XYZxyz(25.7935, 16.9515, 60.2936)
Luminance0.1695 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56CE #95CE56
analogous
#5659CE #8F56CE #CB56CE
triadic
#8F56CE #CE8F56 #56CE8F
tetradic
#8F56CE #CE5659 #95CE56 #56CECB
square
#8F56CE #CE5659 #95CE56 #56CECB
split-complementary
#8F56CE #CECB56 #59CE56
monochromatic
#522683 #7034B3 #8F56CE #AE85DC #CEB5EA

Accessibility & contrast

On white

4.78
#8F56CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8F56CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F56CE
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56CE#FFFFFF#000000##FFFFFF
##8F56CE1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E71D2
Deuteranopia (green-blind)
#3972CB
Tritanopia (blue-blind)
#836E8A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f56ce;
/* rgb */ color: rgb(143, 86, 206);
/* oklch */ color: oklch(57.3% 0.181 303.0);
Tailwind
colors: {
  custom: {
    50: '#b388de',
    500: '#8f56ce',
    950: '#000000',
  },
}
SCSS
$custom: #8f56ce;
$custom-light: #b388de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56ce",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 206
  },
  "hsl": {
    "h": 268.5,
    "s": 55.046,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57343,
    "c": 0.18064,
    "h": 303
  },
  "luminance": 0.16951
}

Semantic roles & 50–950 ramp

primary
#8F56CE
secondary
#C1D8A8
accent
#DE4998
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F56CE

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

Preview Lab → · Contrast checker → · Palette generator →

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