#8F56CC#8F56CC

#8F56CC is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.2% C 0.178 H 303.5°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8F56CC
RGBrgb(143, 86, 204)
HSLhsl(269, 54%, 57%)
HSVhsv(269, 58%, 80%)
CMYKcmyk(29.9%, 57.8%, 0%, 20%)
CIE-LABlab(48.08, 46.51, -52.60)
CIE-LCHlch(48.08, 70.21, 311.48°)
OKLaboklab(57.21% 0.0985 -0.1486)
OKLCHoklch(57.21% 0.178 303.5)
XYZxyz(25.5521, 16.8549, 59.0222)
Luminance0.1686 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F56CC #93CC56
analogous
#5658CC #8F56CC #CA56CC
triadic
#8F56CC #CC8F56 #56CC8F
tetradic
#8F56CC #CC5658 #93CC56 #56CCCA
square
#8F56CC #CC5658 #93CC56 #56CCCA
split-complementary
#8F56CC #CCCA56 #58CC56
monochromatic
#522781 #7035B0 #8F56CC #AE85DA #CDB4E8

Accessibility & contrast

On white

4.80
#8F56CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8F56CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F56CC
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F56CC#FFFFFF#000000##FFFFFF
##8F56CC1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2271D0
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#846D89
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f56cc;
/* rgb */ color: rgb(143, 86, 204);
/* oklch */ color: oklch(57.2% 0.178 303.5);
Tailwind
colors: {
  custom: {
    50: '#b388dc',
    500: '#8f56cc',
    950: '#000000',
  },
}
SCSS
$custom: #8f56cc;
$custom-light: #b388dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8f56cc",
  "rgb": {
    "r": 143,
    "g": 86,
    "b": 204
  },
  "hsl": {
    "h": 268.983,
    "s": 53.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57214,
    "c": 0.17831,
    "h": 303.5
  },
  "luminance": 0.16855
}

Semantic roles & 50–950 ramp

primary
#8F56CC
secondary
#C0D7A7
accent
#DD4B96
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F56CC

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

Preview Lab → · Contrast checker → · Palette generator →

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