#8F4CD6#8F4CD6

#8F4CD6 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.5% C 0.204 H 302.7°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#8F4CD6
RGBrgb(143, 76, 214)
HSLhsl(269, 63%, 57%)
HSVhsv(269, 64%, 84%)
CMYKcmyk(33.2%, 64.5%, 0%, 16.1%)
CIE-LABlab(46.79, 54.10, -60.39)
CIE-LCHlch(46.79, 81.08, 311.86°)
OKLaboklab(56.49% 0.1099 -0.1715)
OKLCHoklch(56.49% 0.204 302.7)
XYZxyz(26.0469, 15.8635, 65.2950)
Luminance0.1586 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CD6 #93D64C
analogous
#4C4ED6 #8F4CD6 #D44CD6
triadic
#8F4CD6 #D68F4C #4CD68F
tetradic
#8F4CD6 #D64C4E #93D64C #4CD6D4
square
#8F4CD6 #D64C4E #93D64C #4CD6D4
split-complementary
#8F4CD6 #D6D44C #4ED64C
monochromatic
#521F88 #702BBA #8F4CD6 #AE7EE1 #CDB0ED

Accessibility & contrast

On white

5.03
#8F4CD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8F4CD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CD6
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CD6#FFFFFF#000000##FFFFFF
##8F4CD61.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDA
Deuteranopia (green-blind)
#196ED3
Tritanopia (blue-blind)
#816A8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4cd6;
/* rgb */ color: rgb(143, 76, 214);
/* oklch */ color: oklch(56.5% 0.204 302.7);
Tailwind
colors: {
  custom: {
    50: '#b582e3',
    500: '#8f4cd6',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cd6;
$custom-light: #b582e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cd6",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 214
  },
  "hsl": {
    "h": 269.13,
    "s": 62.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56487,
    "c": 0.2037,
    "h": 302.7
  },
  "luminance": 0.15864
}

Semantic roles & 50–950 ramp

primary
#8F4CD6
secondary
#C0DBA3
accent
#E64296
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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