#8F4FC9#8F4FC9

#8F4FC9 is a mid, vivid violet. Relative luminance 0.156; OKLCH L 56.0% C 0.185 H 305.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8F4FC9
RGBrgb(143, 79, 201)
HSLhsl(271, 53%, 55%)
HSVhsv(271, 61%, 79%)
CMYKcmyk(28.9%, 60.7%, 0%, 21.2%)
CIE-LABlab(46.51, 49.48, -53.38)
CIE-LCHlch(46.51, 72.78, 312.83°)
OKLaboklab(56.01% 0.1072 -0.1509)
OKLCHoklch(56.01% 0.185 305.4)
XYZxyz(24.6640, 15.6488, 56.9682)
Luminance0.1565 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FC9 #89C94F
analogous
#524FC9 #8F4FC9 #C94FC6
triadic
#8F4FC9 #C98F4F #4FC98F
tetradic
#8F4FC9 #C9524F #89C94F #4FC6C9
square
#8F4FC9 #C9524F #89C94F #4FC6C9
split-complementary
#8F4FC9 #C6C94F #4FC952
monochromatic
#512579 #7033A7 #8F4FC9 #AD7ED7 #CBADE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F4FC9#FFFFFF#000000##FFFFFF
##8F4FC91.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)
#0E6CCD
Deuteranopia (green-blind)
#356EC6
Tritanopia (blue-blind)
#856885
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4fc9;
/* rgb */ color: rgb(143, 79, 201);
/* oklch */ color: oklch(56.0% 0.185 305.4);
Tailwind
colors: {
  custom: {
    50: '#b383da',
    500: '#8f4fc9',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fc9;
$custom-light: #b383da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fc9",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 201
  },
  "hsl": {
    "h": 271.475,
    "s": 53.043,
    "l": 54.902
  },
  "oklch": {
    "l": 0.56012,
    "c": 0.1851,
    "h": 305.4
  },
  "luminance": 0.15649
}

Semantic roles & 50–950 ramp

primary
#8F4FC9
secondary
#B9D4A0
accent
#DC4B90
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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