#8F49D7#8F49D7

#8F49D7 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.209 H 302.8°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#8F49D7
RGBrgb(143, 73, 215)
HSLhsl(270, 64%, 56%)
HSVhsv(270, 66%, 84%)
CMYKcmyk(33.5%, 66%, 0%, 15.7%)
CIE-LABlab(46.33, 55.82, -61.72)
CIE-LCHlch(46.33, 83.21, 312.12°)
OKLaboklab(56.17% 0.1131 -0.1754)
OKLCHoklch(56.17% 0.209 302.8)
XYZxyz(25.9731, 15.5110, 65.9024)
Luminance0.1551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49D7 #91D749
analogous
#494AD7 #8F49D7 #D649D7
triadic
#8F49D7 #D78F49 #49D78F
tetradic
#8F49D7 #D7494A #91D749 #49D7D6
square
#8F49D7 #D7494A #91D749 #49D7D6
split-complementary
#8F49D7 #D7D649 #4AD749
monochromatic
#521E88 #7029BA #8F49D7 #AE7BE2 #CDADED

Accessibility & contrast

On white

5.12
#8F49D7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8F49D7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49D7
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49D7#FFFFFF#000000##FFFFFF
##8F49D71.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CDB
Deuteranopia (green-blind)
#0B6DD4
Tritanopia (blue-blind)
#81698A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f49d7;
/* rgb */ color: rgb(143, 73, 215);
/* oklch */ color: oklch(56.2% 0.209 302.8);
Tailwind
colors: {
  custom: {
    50: '#b580e4',
    500: '#8f49d7',
    950: '#000000',
  },
}
SCSS
$custom: #8f49d7;
$custom-light: #b580e4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49d7",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 215
  },
  "hsl": {
    "h": 269.577,
    "s": 63.964,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56172,
    "c": 0.20869,
    "h": 302.8
  },
  "luminance": 0.15511
}

Semantic roles & 50–950 ramp

primary
#8F49D7
secondary
#BEDBA1
accent
#E74195
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F49D7

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

Preview Lab → · Contrast checker → · Palette generator →

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