#8F4FC5#8F4FC5

#8F4FC5 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.8% C 0.181 H 306.4°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8F4FC5
RGBrgb(143, 79, 197)
HSLhsl(273, 50%, 54%)
HSVhsv(273, 60%, 77%)
CMYKcmyk(27.4%, 59.9%, 0%, 22.7%)
CIE-LABlab(46.26, 48.53, -51.47)
CIE-LCHlch(46.26, 70.74, 313.32°)
OKLaboklab(55.75% 0.1072 -0.1453)
OKLCHoklch(55.75% 0.181 306.4)
XYZxyz(24.1996, 15.4631, 54.5223)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FC5 #85C54F
analogous
#544FC5 #8F4FC5 #C54FC0
triadic
#8F4FC5 #C58F4F #4FC58F
tetradic
#8F4FC5 #C5544F #85C54F #4FC0C5
square
#8F4FC5 #C5544F #85C54F #4FC0C5
split-complementary
#8F4FC5 #C0C54F #4FC554
monochromatic
#502674 #7035A2 #8F4FC5 #AC7DD4 #CAABE3

Accessibility & contrast

On white

5.13
#8F4FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8F4FC5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FC5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FC5#FFFFFF#000000##FFFFFF
##8F4FC51.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196BC9
Deuteranopia (green-blind)
#396EC2
Tritanopia (blue-blind)
#866682
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4fc5;
/* rgb */ color: rgb(143, 79, 197);
/* oklch */ color: oklch(55.8% 0.181 306.4);
Tailwind
colors: {
  custom: {
    50: '#b383d7',
    500: '#8f4fc5',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fc5;
$custom-light: #b383d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fc5",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 197
  },
  "hsl": {
    "h": 272.542,
    "s": 50.427,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55751,
    "c": 0.18061,
    "h": 306.4
  },
  "luminance": 0.15463
}

Semantic roles & 50–950 ramp

primary
#8F4FC5
secondary
#B6D19F
accent
#DA4E8E
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F4FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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