#8F4FE0#8F4FE0

#8F4FE0 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.211 H 300.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#8F4FE0
RGBrgb(143, 79, 224)
HSLhsl(266, 70%, 59%)
HSVhsv(266, 65%, 88%)
CMYKcmyk(36.2%, 64.7%, 0%, 12.2%)
CIE-LABlab(48.02, 55.04, -64.10)
CIE-LCHlch(48.02, 84.48, 310.65°)
OKLaboklab(57.59% 0.1057 -0.1824)
OKLCHoklch(57.59% 0.211 300.1)
XYZxyz(27.5749, 16.8132, 72.2991)
Luminance0.1681 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FE0 #A0E04F
analogous
#4F58E0 #8F4FE0 #D84FE0
triadic
#8F4FE0 #E08F4F #4FE08F
tetradic
#8F4FE0 #E04F58 #A0E04F #4FE0D8
square
#8F4FE0 #E04F58 #A0E04F #4FE0D8
split-complementary
#8F4FE0 #E0D84F #58E04F
monochromatic
#531B9A #6F24CE #8F4FE0 #B083E9 #D1B7F2

Accessibility & contrast

On white

4.81
#8F4FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8F4FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FE0
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FE0#FFFFFF#000000##FFFFFF
##8F4FE01.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E4
Deuteranopia (green-blind)
#0071DD
Tritanopia (blue-blind)
#7D7091
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f4fe0;
/* rgb */ color: rgb(143, 79, 224);
/* oklch */ color: oklch(57.6% 0.211 300.1);
Tailwind
colors: {
  custom: {
    50: '#b584eb',
    500: '#8f4fe0',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fe0;
$custom-light: #b584eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fe0",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 224
  },
  "hsl": {
    "h": 266.483,
    "s": 70.048,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.21081,
    "h": 300.1
  },
  "luminance": 0.16813
}

Semantic roles & 50–950 ramp

primary
#8F4FE0
secondary
#C9E2A9
accent
#ED3B9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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