#8F56CD#8F56CD

#8F56CD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.3% C 0.179 H 303.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#8F56CD
RGBrgb(143, 86, 205)
HSLhsl(269, 54%, 57%)
HSVhsv(269, 58%, 80%)
CMYKcmyk(30.2%, 58%, 0%, 19.6%)
CIE-LABlab(48.14, 46.75, -53.07)
CIE-LCHlch(48.14, 70.73, 311.38°)
OKLaboklab(57.28% 0.0985 -0.15)
OKLCHoklch(57.28% 0.179 303.3)
XYZxyz(25.6724, 16.9030, 59.6559)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56CD #94CD56
analogous
#5659CD #8F56CD #CA56CD
triadic
#8F56CD #CD8F56 #56CD8F
tetradic
#8F56CD #CD5659 #94CD56 #56CDCA
square
#8F56CD #CD5659 #94CD56 #56CDCA
split-complementary
#8F56CD #CDCA56 #59CD56
monochromatic
#522682 #7034B1 #8F56CD #AE85DB #CEB4E9

Accessibility & contrast

On white

4.79
#8F56CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#8F56CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F56CD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56CD#FFFFFF#000000##FFFFFF
##8F56CD1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2071D1
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#836E89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f56cd;
/* rgb */ color: rgb(143, 86, 205);
/* oklch */ color: oklch(57.3% 0.179 303.3);
Tailwind
colors: {
  custom: {
    50: '#b388dd',
    500: '#8f56cd',
    950: '#000000',
  },
}
SCSS
$custom: #8f56cd;
$custom-light: #b388dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56cd",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 205
  },
  "hsl": {
    "h": 268.739,
    "s": 54.338,
    "l": 57.059
  },
  "oklch": {
    "l": 0.57278,
    "c": 0.17948,
    "h": 303.3
  },
  "luminance": 0.16903
}

Semantic roles & 50–950 ramp

primary
#8F56CD
secondary
#C0D8A7
accent
#DE4A97
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F56CD

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

Preview Lab → · Contrast checker → · Palette generator →

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