#8F56DC#8F56DC

#8F56DC is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.197 H 299.9°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8F56DC
RGBrgb(143, 86, 220)
HSLhsl(266, 66%, 60%)
HSVhsv(266, 61%, 86%)
CMYKcmyk(35%, 60.9%, 0%, 13.7%)
CIE-LABlab(49.08, 50.45, -60.11)
CIE-LCHlch(49.08, 78.48, 310.00°)
OKLaboklab(58.27% 0.0981 -0.1707)
OKLCHoklch(58.27% 0.197 299.9)
XYZxyz(27.5706, 17.6623, 69.6529)
Luminance0.1766 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56DC #A3DC56
analogous
#5660DC #8F56DC #D256DC
triadic
#8F56DC #DC8F56 #56DC8F
tetradic
#8F56DC #DC5660 #A3DC56 #56DCD2
square
#8F56DC #DC5660 #A3DC56 #56DCD2
split-complementary
#8F56DC #DCD256 #60DC56
monochromatic
#532098 #6E2ACB #8F56DC #B189E6 #D2BBF1

Accessibility & contrast

On white

4.63
#8F56DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8F56DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8F56DC
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56DC#FFFFFF#000000##FFFFFF
##8F56DC1.004.634.534.63
#FFFFFF4.631.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E0
Deuteranopia (green-blind)
#2474D9
Tritanopia (blue-blind)
#7E7391
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8f56dc;
/* rgb */ color: rgb(143, 86, 220);
/* oklch */ color: oklch(58.3% 0.197 299.9);
Tailwind
colors: {
  custom: {
    50: '#b488e8',
    500: '#8f56dc',
    950: '#000000',
  },
}
SCSS
$custom: #8f56dc;
$custom-light: #b488e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56dc",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 220
  },
  "hsl": {
    "h": 265.522,
    "s": 65.686,
    "l": 60
  },
  "oklch": {
    "l": 0.58271,
    "c": 0.19691,
    "h": 299.9
  },
  "luminance": 0.17663
}

Semantic roles & 50–950 ramp

primary
#8F56DC
secondary
#CBE1AD
accent
#E93FA1
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #8F56DC

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

Preview Lab → · Contrast checker → · Palette generator →

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