#8F4FD1#8F4FD1

#8F4FD1 is a mid, vivid violet. Relative luminance 0.160; OKLCH L 56.5% C 0.194 H 303.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8F4FD1
RGBrgb(143, 79, 209)
HSLhsl(270, 59%, 56%)
HSVhsv(270, 62%, 82%)
CMYKcmyk(31.6%, 62.2%, 0%, 18%)
CIE-LABlab(47.02, 51.39, -57.16)
CIE-LCHlch(47.02, 76.86, 311.95°)
OKLaboklab(56.55% 0.1068 -0.162)
OKLCHoklch(56.55% 0.194 303.4)
XYZxyz(25.6297, 16.0351, 62.0541)
Luminance0.1603 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FD1 #91D14F
analogous
#4F50D1 #8F4FD1 #D04FD1
triadic
#8F4FD1 #D18F4F #4FD18F
tetradic
#8F4FD1 #D14F50 #91D14F #4FD1D0
square
#8F4FD1 #D14F50 #91D14F #4FD1D0
split-complementary
#8F4FD1 #D1D04F #50D14F
monochromatic
#522283 #702FB4 #8F4FD1 #AE80DE #CDB0EA

Accessibility & contrast

On white

4.99
#8F4FD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8F4FD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FD1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FD1#FFFFFF#000000##FFFFFF
##8F4FD11.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED5
Deuteranopia (green-blind)
#2A6FCE
Tritanopia (blue-blind)
#826A89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4fd1;
/* rgb */ color: rgb(143, 79, 209);
/* oklch */ color: oklch(56.5% 0.194 303.4);
Tailwind
colors: {
  custom: {
    50: '#b484e0',
    500: '#8f4fd1',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fd1;
$custom-light: #b484e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fd1",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 209
  },
  "hsl": {
    "h": 269.538,
    "s": 58.559,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56545,
    "c": 0.19408,
    "h": 303.4
  },
  "luminance": 0.16035
}

Semantic roles & 50–950 ramp

primary
#8F4FD1
secondary
#BED9A3
accent
#E24695
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4FD1

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

Preview Lab → · Contrast checker → · Palette generator →

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