#8F3DC7#8F3DC7

#8F3DC7 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.6% C 0.207 H 308.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#8F3DC7
RGBrgb(143, 61, 199)
HSLhsl(276, 55%, 51%)
HSVhsv(276, 69%, 78%)
CMYKcmyk(28.1%, 69.3%, 0%, 22%)
CIE-LABlab(43.21, 57.71, -57.54)
CIE-LCHlch(43.21, 81.49, 315.09°)
OKLaboklab(53.59% 0.1278 -0.163)
OKLCHoklch(53.59% 0.207 308.1)
XYZxyz(23.3031, 13.3010, 55.3615)
Luminance0.1330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3DC7 #75C73D
analogous
#4A3DC7 #8F3DC7 #C73DBA
triadic
#8F3DC7 #C78F3D #3DC78F
tetradic
#8F3DC7 #C74A3D #75C73D #3DBAC7
square
#8F3DC7 #C74A3D #75C73D #3DBAC7
split-complementary
#8F3DC7 #BAC73D #3DC74A
monochromatic
#4C1F6B #6E2D9A #8F3DC7 #AA6CD5 #C69CE2

Accessibility & contrast

On white

5.74
#8F3DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#8F3DC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3DC7
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3DC7#FFFFFF#000000##FFFFFF
##8F3DC71.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CB
Deuteranopia (green-blind)
#1B67C4
Tritanopia (blue-blind)
#865C7E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f3dc7;
/* rgb */ color: rgb(143, 61, 199);
/* oklch */ color: oklch(53.6% 0.207 308.1);
Tailwind
colors: {
  custom: {
    50: '#b479d9',
    500: '#8f3dc7',
    950: '#000000',
  },
}
SCSS
$custom: #8f3dc7;
$custom-light: #b479d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3dc7",
  "rgb": {
    "r": 143,
    "g": 61,
    "b": 199
  },
  "hsl": {
    "h": 275.652,
    "s": 55.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53594,
    "c": 0.20714,
    "h": 308.1
  },
  "luminance": 0.13301
}

Semantic roles & 50–950 ramp

primary
#8F3DC7
secondary
#AACE91
accent
#DF4986
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F3DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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