#8F4FD7#8F4FD7

#8F4FD7 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.0% C 0.201 H 302.0°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#8F4FD7
RGBrgb(143, 79, 215)
HSLhsl(268, 63%, 58%)
HSVhsv(268, 63%, 84%)
CMYKcmyk(33.5%, 63.3%, 0%, 15.7%)
CIE-LABlab(47.41, 52.84, -59.96)
CIE-LCHlch(47.41, 79.92, 311.39°)
OKLaboklab(56.96% 0.1065 -0.1703)
OKLCHoklch(56.96% 0.201 302)
XYZxyz(26.3865, 16.3378, 66.0402)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FD7 #97D74F
analogous
#4F53D7 #8F4FD7 #D34FD7
triadic
#8F4FD7 #D78F4F #4FD78F
tetradic
#8F4FD7 #D74F53 #97D74F #4FD7D3
square
#8F4FD7 #D74F53 #97D74F #4FD7D3
split-complementary
#8F4FD7 #D7D34F #53D74F
monochromatic
#53208C #702BBE #8F4FD7 #AF81E2 #CEB3EE

Accessibility & contrast

On white

4.92
#8F4FD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8F4FD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FD7
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FD7#FFFFFF#000000##FFFFFF
##8F4FD71.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDB
Deuteranopia (green-blind)
#1E70D4
Tritanopia (blue-blind)
#806D8C
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4fd7;
/* rgb */ color: rgb(143, 79, 215);
/* oklch */ color: oklch(57.0% 0.201 302.0);
Tailwind
colors: {
  custom: {
    50: '#b484e4',
    500: '#8f4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fd7;
$custom-light: #b484e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fd7",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 268.235,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56956,
    "c": 0.2008,
    "h": 302
  },
  "luminance": 0.16338
}

Semantic roles & 50–950 ramp

primary
#8F4FD7
secondary
#C3DCA6
accent
#E64299
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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