#8F56CB#8F56CB

#8F56CB is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.1% C 0.177 H 303.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8F56CB
RGBrgb(143, 86, 203)
HSLhsl(269, 53%, 57%)
HSVhsv(269, 58%, 80%)
CMYKcmyk(29.6%, 57.6%, 0%, 20.4%)
CIE-LABlab(48.02, 46.27, -52.12)
CIE-LCHlch(48.02, 69.69, 311.60°)
OKLaboklab(57.15% 0.0985 -0.1472)
OKLCHoklch(57.15% 0.177 303.8)
XYZxyz(25.4326, 16.8071, 58.3926)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56CB #92CB56
analogous
#5658CB #8F56CB #CA56CB
triadic
#8F56CB #CB8F56 #56CB8F
tetradic
#8F56CB #CB5658 #92CB56 #56CBCA
square
#8F56CB #CB5658 #92CB56 #56CBCA
split-complementary
#8F56CB #CBCA56 #58CB56
monochromatic
#52277F #7036AE #8F56CB #AE85D9 #CDB4E8

Accessibility & contrast

On white

4.81
#8F56CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8F56CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F56CB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56CB#FFFFFF#000000##FFFFFF
##8F56CB1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2471CF
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#846D88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f56cb;
/* rgb */ color: rgb(143, 86, 203);
/* oklch */ color: oklch(57.1% 0.177 303.8);
Tailwind
colors: {
  custom: {
    50: '#b388db',
    500: '#8f56cb',
    950: '#000000',
  },
}
SCSS
$custom: #8f56cb;
$custom-light: #b388db;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56cb",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 269.231,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.5715,
    "c": 0.17714,
    "h": 303.8
  },
  "luminance": 0.16807
}

Semantic roles & 50–950 ramp

primary
#8F56CB
secondary
#BFD6A6
accent
#DC4B96
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F56CB

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

Preview Lab → · Contrast checker → · Palette generator →

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