#8F4FD4#8F4FD4

#8F4FD4 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.7% C 0.197 H 302.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8F4FD4
RGBrgb(143, 79, 212)
HSLhsl(269, 61%, 57%)
HSVhsv(269, 63%, 83%)
CMYKcmyk(32.5%, 62.7%, 0%, 16.9%)
CIE-LABlab(47.22, 52.11, -58.57)
CIE-LCHlch(47.22, 78.39, 311.66°)
OKLaboklab(56.75% 0.1067 -0.1661)
OKLCHoklch(56.75% 0.197 302.7)
XYZxyz(26.0046, 16.1851, 64.0286)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FD4 #94D44F
analogous
#4F52D4 #8F4FD4 #D24FD4
triadic
#8F4FD4 #D48F4F #4FD48F
tetradic
#8F4FD4 #D44F52 #94D44F #4FD4D2
square
#8F4FD4 #D44F52 #94D44F #4FD4D2
split-complementary
#8F4FD4 #D4D24F #52D44F
monochromatic
#522187 #702DB9 #8F4FD4 #AE80E0 #CEB1EC

Accessibility & contrast

On white

4.96
#8F4FD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#8F4FD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FD4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FD4#FFFFFF#000000##FFFFFF
##8F4FD41.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD8
Deuteranopia (green-blind)
#2570D1
Tritanopia (blue-blind)
#816B8A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4fd4;
/* rgb */ color: rgb(143, 79, 212);
/* oklch */ color: oklch(56.7% 0.197 302.7);
Tailwind
colors: {
  custom: {
    50: '#b484e2',
    500: '#8f4fd4',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fd4;
$custom-light: #b484e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fd4",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 212
  },
  "hsl": {
    "h": 268.872,
    "s": 60.731,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56749,
    "c": 0.19744,
    "h": 302.7
  },
  "luminance": 0.16185
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F4FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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