#8F4FD3#8F4FD3

#8F4FD3 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.7% C 0.196 H 302.9°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#8F4FD3
RGBrgb(143, 79, 211)
HSLhsl(269, 60%, 57%)
HSVhsv(269, 63%, 83%)
CMYKcmyk(32.2%, 62.6%, 0%, 17.3%)
CIE-LABlab(47.15, 51.87, -58.10)
CIE-LCHlch(47.15, 77.88, 311.76°)
OKLaboklab(56.68% 0.1067 -0.1648)
OKLCHoklch(56.68% 0.196 302.9)
XYZxyz(25.8788, 16.1348, 63.3663)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FD3 #93D34F
analogous
#4F51D3 #8F4FD3 #D14FD3
triadic
#8F4FD3 #D38F4F #4FD38F
tetradic
#8F4FD3 #D34F51 #93D34F #4FD3D1
square
#8F4FD3 #D34F51 #93D34F #4FD3D1
split-complementary
#8F4FD3 #D3D14F #51D34F
monochromatic
#522286 #702EB7 #8F4FD3 #AE80DF #CDB1EB

Accessibility & contrast

On white

4.97
#8F4FD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8F4FD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FD3
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FD3#FFFFFF#000000##FFFFFF
##8F4FD31.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD7
Deuteranopia (green-blind)
#266FD0
Tritanopia (blue-blind)
#826B8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4fd3;
/* rgb */ color: rgb(143, 79, 211);
/* oklch */ color: oklch(56.7% 0.196 302.9);
Tailwind
colors: {
  custom: {
    50: '#b484e1',
    500: '#8f4fd3',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fd3;
$custom-light: #b484e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fd3",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 211
  },
  "hsl": {
    "h": 269.091,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56681,
    "c": 0.19632,
    "h": 302.9
  },
  "luminance": 0.16135
}

Semantic roles & 50–950 ramp

primary
#8F4FD3
secondary
#C0DAA4
accent
#E34596
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8F4FD3

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

Preview Lab → · Contrast checker → · Palette generator →

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