#8F4CD7#8F4CD7

#8F4CD7 is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.205 H 302.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8F4CD7
RGBrgb(143, 76, 215)
HSLhsl(269, 63%, 57%)
HSVhsv(269, 65%, 84%)
CMYKcmyk(33.5%, 64.7%, 0%, 15.7%)
CIE-LABlab(46.86, 54.34, -60.85)
CIE-LCHlch(46.86, 81.58, 311.77°)
OKLaboklab(56.56% 0.1098 -0.1729)
OKLCHoklch(56.56% 0.205 302.4)
XYZxyz(26.1750, 15.9148, 65.9697)
Luminance0.1592 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CD7 #94D74C
analogous
#4C4FD7 #8F4CD7 #D54CD7
triadic
#8F4CD7 #D78F4C #4CD78F
tetradic
#8F4CD7 #D74C4F #94D74C #4CD7D5
square
#8F4CD7 #D74C4F #94D74C #4CD7D5
split-complementary
#8F4CD7 #D7D54C #4FD74C
monochromatic
#521F8A #702ABC #8F4CD7 #AE7EE2 #CEB0ED

Accessibility & contrast

On white

5.02
#8F4CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8F4CD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CD7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CD7#FFFFFF#000000##FFFFFF
##8F4CD71.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#166FD4
Tritanopia (blue-blind)
#816B8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4cd7;
/* rgb */ color: rgb(143, 76, 215);
/* oklch */ color: oklch(56.6% 0.205 302.4);
Tailwind
colors: {
  custom: {
    50: '#b582e4',
    500: '#8f4cd7',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cd7;
$custom-light: #b582e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cd7",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 268.921,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56557,
    "c": 0.2048,
    "h": 302.4
  },
  "luminance": 0.15915
}

Semantic roles & 50–950 ramp

primary
#8F4CD7
secondary
#C0DCA3
accent
#E64197
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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