#8F4FCF#8F4FCF

#8F4FCF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 56.4% C 0.192 H 303.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8F4FCF
RGBrgb(143, 79, 207)
HSLhsl(270, 57%, 56%)
HSVhsv(270, 62%, 81%)
CMYKcmyk(30.9%, 61.8%, 0%, 18.8%)
CIE-LABlab(46.89, 50.91, -56.22)
CIE-LCHlch(46.89, 75.84, 312.16°)
OKLaboklab(56.41% 0.1069 -0.1593)
OKLCHoklch(56.41% 0.192 303.9)
XYZxyz(25.3836, 15.9367, 60.7582)
Luminance0.1594 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FCF #8FCF4F
analogous
#4F4FCF #8F4FCF #CF4FCF
triadic
#8F4FCF #CF8F4F #4FCF8F
tetradic
#8F4FCF #CF4F4F #8FCF4F #4FCFCF
square
#8F4FCF #CF4F4F #8FCF4F #4FCFCF
split-complementary
#8F4FCF #CFCF4F #4FCF4F
monochromatic
#522381 #7030B1 #8F4FCF #AE7FDC #CCAFE9

Accessibility & contrast

On white

5.02
#8F4FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8F4FCF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FCF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FCF#FFFFFF#000000##FFFFFF
##8F4FCF1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#2D6FCC
Tritanopia (blue-blind)
#836A88
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4fcf;
/* rgb */ color: rgb(143, 79, 207);
/* oklch */ color: oklch(56.4% 0.192 303.9);
Tailwind
colors: {
  custom: {
    50: '#b484de',
    500: '#8f4fcf',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fcf;
$custom-light: #b484de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fcf",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 270,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5641,
    "c": 0.19184,
    "h": 303.9
  },
  "luminance": 0.15937
}

Semantic roles & 50–950 ramp

primary
#8F4FCF
secondary
#BDD7A2
accent
#E04794
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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