#8F4FE1#8F4FE1

#8F4FE1 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.7% C 0.212 H 299.9°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#8F4FE1
RGBrgb(143, 79, 225)
HSLhsl(266, 71%, 60%)
HSVhsv(266, 65%, 88%)
CMYKcmyk(36.4%, 64.9%, 0%, 11.8%)
CIE-LABlab(48.09, 55.28, -64.55)
CIE-LCHlch(48.09, 84.99, 310.58°)
OKLaboklab(57.66% 0.1056 -0.1837)
OKLCHoklch(57.66% 0.212 299.9)
XYZxyz(27.7109, 16.8676, 73.0154)
Luminance0.1687 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FE1 #A1E14F
analogous
#4F58E1 #8F4FE1 #D84FE1
triadic
#8F4FE1 #E18F4F #4FE18F
tetradic
#8F4FE1 #E14F58 #A1E14F #4FE1D8
square
#8F4FE1 #E14F58 #A1E14F #4FE1D8
split-complementary
#8F4FE1 #E1D84F #58E14F
monochromatic
#531A9B #6F23CF #8F4FE1 #B083EA #D2B8F3

Accessibility & contrast

On white

4.80
#8F4FE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#8F4FE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FE1
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FE1#FFFFFF#000000##FFFFFF
##8F4FE11.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f4fe1;
/* rgb */ color: rgb(143, 79, 225);
/* oklch */ color: oklch(57.7% 0.212 299.9);
Tailwind
colors: {
  custom: {
    50: '#b584eb',
    500: '#8f4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fe1;
$custom-light: #b584eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fe1",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 266.301,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.5766,
    "c": 0.21192,
    "h": 299.9
  },
  "luminance": 0.16868
}

Semantic roles & 50–950 ramp

primary
#8F4FE1
secondary
#C9E2AA
accent
#EE3A9F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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