#8F4BD7#8F4BD7

#8F4BD7 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.4% C 0.206 H 302.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8F4BD7
RGBrgb(143, 75, 215)
HSLhsl(269, 64%, 57%)
HSVhsv(269, 65%, 84%)
CMYKcmyk(33.5%, 65.1%, 0%, 15.7%)
CIE-LABlab(46.68, 54.84, -61.14)
CIE-LCHlch(46.68, 82.13, 311.89°)
OKLaboklab(56.43% 0.1109 -0.1737)
OKLCHoklch(56.43% 0.206 302.6)
XYZxyz(26.1066, 15.7781, 65.9469)
Luminance0.1578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BD7 #93D74B
analogous
#4B4DD7 #8F4BD7 #D54BD7
triadic
#8F4BD7 #D78F4B #4BD78F
tetradic
#8F4BD7 #D74B4D #93D74B #4BD7D5
square
#8F4BD7 #D74B4D #93D74B #4BD7D5
split-complementary
#8F4BD7 #D7D54B #4DD74B
monochromatic
#521E89 #702ABB #8F4BD7 #AE7DE2 #CDAFED

Accessibility & contrast

On white

5.05
#8F4BD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8F4BD7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BD7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BD7#FFFFFF#000000##FFFFFF
##8F4BD71.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDB
Deuteranopia (green-blind)
#136ED4
Tritanopia (blue-blind)
#816A8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4bd7;
/* rgb */ color: rgb(143, 75, 215);
/* oklch */ color: oklch(56.4% 0.206 302.6);
Tailwind
colors: {
  custom: {
    50: '#b581e4',
    500: '#8f4bd7',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bd7;
$custom-light: #b581e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bd7",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 215
  },
  "hsl": {
    "h": 269.143,
    "s": 63.636,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56427,
    "c": 0.2061,
    "h": 302.6
  },
  "luminance": 0.15778
}

Semantic roles & 50–950 ramp

primary
#8F4BD7
secondary
#C0DBA2
accent
#E74196
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4BD7

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

Preview Lab → · Contrast checker → · Palette generator →

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