#8C4FCF#8C4FCF

#8C4FCF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.1% C 0.191 H 302.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8C4FCF
RGBrgb(140, 79, 207)
HSLhsl(269, 57%, 56%)
HSVhsv(269, 62%, 81%)
CMYKcmyk(32.4%, 61.8%, 0%, 18.8%)
CIE-LABlab(46.54, 50.23, -56.80)
CIE-LCHlch(46.54, 75.83, 311.49°)
OKLaboklab(56.08% 0.103 -0.1611)
OKLCHoklch(56.08% 0.191 302.6)
XYZxyz(24.8711, 15.6724, 60.7342)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4FCF #92CF4F
analogous
#4F52CF #8C4FCF #CC4FCF
triadic
#8C4FCF #CF8C4F #4FCF8C
tetradic
#8C4FCF #CF4F52 #92CF4F #4FCFCC
square
#8C4FCF #CF4F52 #92CF4F #4FCFCC
split-complementary
#8C4FCF #CFCC4F #52CF4F
monochromatic
#502381 #6D30B1 #8C4FCF #AB7FDC #CBAFE9

Accessibility & contrast

On white

5.08
#8C4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8C4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4FCF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4FCF#FFFFFF#000000##FFFFFF
##8C4FCF1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD3
Deuteranopia (green-blind)
#286ECC
Tritanopia (blue-blind)
#7F6A88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8c4fcf;
/* rgb */ color: rgb(140, 79, 207);
/* oklch */ color: oklch(56.1% 0.191 302.6);
Tailwind
colors: {
  custom: {
    50: '#b283de',
    500: '#8c4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #8c4fcf;
$custom-light: #b283de;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4fcf",
  "rgb": {
    "r": 140,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 268.594,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56079,
    "c": 0.19119,
    "h": 302.6
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#8C4FCF
secondary
#BED7A2
accent
#E04797
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8C4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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