#8F4FC7#8F4FC7

#8F4FC7 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.9% C 0.183 H 305.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#8F4FC7
RGBrgb(143, 79, 199)
HSLhsl(272, 52%, 55%)
HSVhsv(272, 60%, 78%)
CMYKcmyk(28.1%, 60.3%, 0%, 22%)
CIE-LABlab(46.39, 49.00, -52.43)
CIE-LCHlch(46.39, 71.76, 313.07°)
OKLaboklab(55.88% 0.1072 -0.1481)
OKLCHoklch(55.88% 0.183 305.9)
XYZxyz(24.4303, 15.5553, 55.7372)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FC7 #87C74F
analogous
#534FC7 #8F4FC7 #C74FC3
triadic
#8F4FC7 #C78F4F #4FC78F
tetradic
#8F4FC7 #C7534F #87C74F #4FC3C7
square
#8F4FC7 #C7534F #87C74F #4FC3C7
split-complementary
#8F4FC7 #C3C74F #4FC753
monochromatic
#502676 #7034A4 #8F4FC7 #AD7DD6 #CAACE5

Accessibility & contrast

On white

5.11
#8F4FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8F4FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FC7
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FC7#FFFFFF#000000##FFFFFF
##8F4FC71.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146CCB
Deuteranopia (green-blind)
#376EC4
Tritanopia (blue-blind)
#866784
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4fc7;
/* rgb */ color: rgb(143, 79, 199);
/* oklch */ color: oklch(55.9% 0.183 305.9);
Tailwind
colors: {
  custom: {
    50: '#b383d9',
    500: '#8f4fc7',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fc7;
$custom-light: #b383d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fc7",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 199
  },
  "hsl": {
    "h": 272,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55881,
    "c": 0.18285,
    "h": 305.9
  },
  "luminance": 0.15555
}

Semantic roles & 50–950 ramp

primary
#8F4FC7
secondary
#B7D2A0
accent
#DB4D8F
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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