#8F4FD9#8F4FD9

#8F4FD9 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.203 H 301.6°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8F4FD9
RGBrgb(143, 79, 217)
HSLhsl(268, 64%, 58%)
HSVhsv(268, 64%, 85%)
CMYKcmyk(34.1%, 63.6%, 0%, 14.9%)
CIE-LABlab(47.55, 53.32, -60.89)
CIE-LCHlch(47.55, 80.93, 311.21°)
OKLaboklab(57.1% 0.1063 -0.173)
OKLCHoklch(57.1% 0.203 301.6)
XYZxyz(26.6451, 16.4413, 67.4019)
Luminance0.1644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FD9 #99D94F
analogous
#4F54D9 #8F4FD9 #D44FD9
triadic
#8F4FD9 #D98F4F #4FD98F
tetradic
#8F4FD9 #D94F54 #99D94F #4FD9D4
square
#8F4FD9 #D94F54 #99D94F #4FD9D4
split-complementary
#8F4FD9 #D9D44F #54D94F
monochromatic
#531F8F #702AC1 #8F4FD9 #AF81E4 #CFB4EF

Accessibility & contrast

On white

4.90
#8F4FD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8F4FD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FD9
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FD9#FFFFFF#000000##FFFFFF
##8F4FD91.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#1970D6
Tritanopia (blue-blind)
#806D8D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f4fd9;
/* rgb */ color: rgb(143, 79, 217);
/* oklch */ color: oklch(57.1% 0.203 301.6);
Tailwind
colors: {
  custom: {
    50: '#b584e6',
    500: '#8f4fd9',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fd9;
$custom-light: #b584e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fd9",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 217
  },
  "hsl": {
    "h": 267.826,
    "s": 64.486,
    "l": 58.039
  },
  "oklch": {
    "l": 0.57095,
    "c": 0.20302,
    "h": 301.6
  },
  "luminance": 0.16441
}

Semantic roles & 50–950 ramp

primary
#8F4FD9
secondary
#C4DDA6
accent
#E7409A
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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