#8F4FC3#8F4FC3

#8F4FC3 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.6% C 0.178 H 307.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#8F4FC3
RGBrgb(143, 79, 195)
HSLhsl(273, 49%, 54%)
HSVhsv(273, 59%, 76%)
CMYKcmyk(26.7%, 59.5%, 0%, 23.5%)
CIE-LABlab(46.14, 48.06, -50.51)
CIE-LCHlch(46.14, 69.72, 313.58°)
OKLaboklab(55.62% 0.1073 -0.1425)
OKLCHoklch(55.62% 0.178 307)
XYZxyz(23.9720, 15.3720, 53.3234)
Luminance0.1537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FC3 #83C34F
analogous
#554FC3 #8F4FC3 #C34FBD
triadic
#8F4FC3 #C38F4F #4FC38F
tetradic
#8F4FC3 #C3554F #83C34F #4FBDC3
square
#8F4FC3 #C3554F #83C34F #4FBDC3
split-complementary
#8F4FC3 #BDC34F #4FC355
monochromatic
#502771 #70369F #8F4FC3 #AC7DD3 #C9AAE2

Accessibility & contrast

On white

5.15
#8F4FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#8F4FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FC3
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FC3#FFFFFF#000000##FFFFFF
##8F4FC31.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D6BC7
Deuteranopia (green-blind)
#3B6EC0
Tritanopia (blue-blind)
#876681
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f4fc3;
/* rgb */ color: rgb(143, 79, 195);
/* oklch */ color: oklch(55.6% 0.178 307.0);
Tailwind
colors: {
  custom: {
    50: '#b383d6',
    500: '#8f4fc3',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fc3;
$custom-light: #b383d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fc3",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 195
  },
  "hsl": {
    "h": 273.103,
    "s": 49.153,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55623,
    "c": 0.17836,
    "h": 307
  },
  "luminance": 0.15372
}

Semantic roles & 50–950 ramp

primary
#8F4FC3
secondary
#B4D09E
accent
#D94F8D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F4FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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