#8F4DD7#8F4DD7

#8F4DD7 is a mid, highly saturated violet. Relative luminance 0.161; OKLCH L 56.7% C 0.203 H 302.3°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8F4DD7
RGBrgb(143, 77, 215)
HSLhsl(269, 63%, 57%)
HSVhsv(269, 64%, 84%)
CMYKcmyk(33.5%, 64.2%, 0%, 15.7%)
CIE-LABlab(47.04, 53.84, -60.56)
CIE-LCHlch(47.04, 81.03, 311.64°)
OKLaboklab(56.69% 0.1087 -0.172)
OKLCHoklch(56.69% 0.203 302.3)
XYZxyz(26.2444, 16.0536, 65.9928)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DD7 #95D74D
analogous
#4D50D7 #8F4DD7 #D44DD7
triadic
#8F4DD7 #D78F4D #4DD78F
tetradic
#8F4DD7 #D74D50 #95D74D #4DD7D4
square
#8F4DD7 #D74D50 #95D74D #4DD7D4
split-complementary
#8F4DD7 #D7D44D #50D74D
monochromatic
#521F8A #702ABC #8F4DD7 #AE7FE2 #CEB1ED

Accessibility & contrast

On white

4.99
#8F4DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8F4DD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DD7
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DD7#FFFFFF#000000##FFFFFF
##8F4DD71.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDB
Deuteranopia (green-blind)
#196FD4
Tritanopia (blue-blind)
#806B8B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4dd7;
/* rgb */ color: rgb(143, 77, 215);
/* oklch */ color: oklch(56.7% 0.203 302.3);
Tailwind
colors: {
  custom: {
    50: '#b583e4',
    500: '#8f4dd7',
    950: '#000000',
  },
}
SCSS
$custom: #8f4dd7;
$custom-light: #b583e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4dd7",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 268.696,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56689,
    "c": 0.20347,
    "h": 302.3
  },
  "luminance": 0.16054
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F4DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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