#8F4FD5#8F4FD5

#8F4FD5 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.199 H 302.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#8F4FD5
RGBrgb(143, 79, 213)
HSLhsl(269, 61%, 57%)
HSVhsv(269, 63%, 84%)
CMYKcmyk(32.9%, 62.9%, 0%, 16.5%)
CIE-LABlab(47.28, 52.35, -59.03)
CIE-LCHlch(47.28, 78.90, 311.57°)
OKLaboklab(56.82% 0.1066 -0.1675)
OKLCHoklch(56.82% 0.199 302.5)
XYZxyz(26.1311, 16.2357, 64.6950)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FD5 #95D54F
analogous
#4F52D5 #8F4FD5 #D24FD5
triadic
#8F4FD5 #D58F4F #4FD58F
tetradic
#8F4FD5 #D54F52 #95D54F #4FD5D2
square
#8F4FD5 #D54F52 #95D54F #4FD5D2
split-complementary
#8F4FD5 #D5D24F #52D54F
monochromatic
#522189 #702CBA #8F4FD5 #AE80E1 #CEB2ED

Accessibility & contrast

On white

4.94
#8F4FD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#8F4FD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FD5
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FD5#FFFFFF#000000##FFFFFF
##8F4FD51.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#2370D2
Tritanopia (blue-blind)
#816C8B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4fd5;
/* rgb */ color: rgb(143, 79, 213);
/* oklch */ color: oklch(56.8% 0.199 302.5);
Tailwind
colors: {
  custom: {
    50: '#b484e3',
    500: '#8f4fd5',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fd5;
$custom-light: #b484e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fd5",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 213
  },
  "hsl": {
    "h": 268.657,
    "s": 61.468,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56818,
    "c": 0.19856,
    "h": 302.5
  },
  "luminance": 0.16236
}

Semantic roles & 50–950 ramp

primary
#8F4FD5
secondary
#C1DBA5
accent
#E54398
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #8F4FD5

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

Preview Lab → · Contrast checker → · Palette generator →

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