#8F4FC0#8F4FC0

#8F4FC0 is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.175 H 307.8°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8F4FC0
RGBrgb(143, 79, 192)
HSLhsl(274, 47%, 53%)
HSVhsv(274, 59%, 75%)
CMYKcmyk(25.5%, 58.9%, 0%, 24.7%)
CIE-LABlab(45.96, 47.36, -49.06)
CIE-LCHlch(45.96, 68.19, 313.99°)
OKLaboklab(55.43% 0.1073 -0.1383)
OKLCHoklch(55.43% 0.175 307.8)
XYZxyz(23.6362, 15.2377, 51.5550)
Luminance0.1524 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FC0 #80C04F
analogous
#564FC0 #8F4FC0 #C04FB8
triadic
#8F4FC0 #C08F4F #4FC08F
tetradic
#8F4FC0 #C0564F #80C04F #4FB8C0
square
#8F4FC0 #C0564F #80C04F #4FB8C0
split-complementary
#8F4FC0 #B8C04F #4FC056
monochromatic
#4F276D #6F379A #8F4FC0 #AC7CD0 #C8A9E0

Accessibility & contrast

On white

5.19
#8F4FC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#8F4FC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FC0
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FC0#FFFFFF#000000##FFFFFF
##8F4FC01.005.194.055.19
#FFFFFF5.191.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#226AC4
Deuteranopia (green-blind)
#3E6EBD
Tritanopia (blue-blind)
#886580
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f4fc0;
/* rgb */ color: rgb(143, 79, 192);
/* oklch */ color: oklch(55.4% 0.175 307.8);
Tailwind
colors: {
  custom: {
    50: '#b383d4',
    500: '#8f4fc0',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fc0;
$custom-light: #b383d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fc0",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 192
  },
  "hsl": {
    "h": 273.982,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55432,
    "c": 0.17498,
    "h": 307.8
  },
  "luminance": 0.15237
}

Semantic roles & 50–950 ramp

primary
#8F4FC0
secondary
#B2CE9D
accent
#D7518B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F4FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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