#8F4FE7#8F4FE7

#8F4FE7 is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.1% C 0.219 H 298.7°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8F4FE7
RGBrgb(143, 79, 231)
HSLhsl(265, 76%, 61%)
HSVhsv(265, 66%, 91%)
CMYKcmyk(38.1%, 65.8%, 0%, 9.4%)
CIE-LABlab(48.51, 56.76, -67.27)
CIE-LCHlch(48.51, 88.02, 310.16°)
OKLaboklab(58.09% 0.1049 -0.1917)
OKLCHoklch(58.09% 0.219 298.7)
XYZxyz(28.5438, 17.2008, 77.4021)
Luminance0.1720 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FE7 #A7E74F
analogous
#4F5BE7 #8F4FE7 #DB4FE7
triadic
#8F4FE7 #E78F4F #4FE78F
tetradic
#8F4FE7 #E74F5B #A7E74F #4FE7DB
square
#8F4FE7 #E74F5B #A7E74F #4FE7DB
split-complementary
#8F4FE7 #E7DB4F #5BE74F
monochromatic
#5317A5 #6D1EDB #8F4FE7 #B185EE #D4BBF6

Accessibility & contrast

On white

4.73
#8F4FE7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#8F4FE7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FE7
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FE7#FFFFFF#000000##FFFFFF
##8F4FE71.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EC
Deuteranopia (green-blind)
#0072E4
Tritanopia (blue-blind)
#7A7294
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8f4fe7;
/* rgb */ color: rgb(143, 79, 231);
/* oklch */ color: oklch(58.1% 0.219 298.7);
Tailwind
colors: {
  custom: {
    50: '#b684f0',
    500: '#8f4fe7',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fe7;
$custom-light: #b684f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fe7",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 231
  },
  "hsl": {
    "h": 265.263,
    "s": 76,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58094,
    "c": 0.21856,
    "h": 298.7
  },
  "luminance": 0.17201
}

Semantic roles & 50–950 ramp

primary
#8F4FE7
secondary
#CDE6AC
accent
#D80D83
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F4FE7

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

Preview Lab → · Contrast checker → · Palette generator →

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