#8F49E3#8F49E3

#8F49E3 is a mid, highly saturated violet. Relative luminance 0.162; OKLCH L 57.0% C 0.222 H 300.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#8F49E3
RGBrgb(143, 73, 227)
HSLhsl(267, 73%, 59%)
HSVhsv(267, 68%, 89%)
CMYKcmyk(37%, 67.8%, 0%, 11%)
CIE-LABlab(47.17, 58.70, -67.18)
CIE-LCHlch(47.17, 89.21, 311.15°)
OKLaboklab(57.04% 0.1116 -0.1914)
OKLCHoklch(57.04% 0.222 300.2)
XYZxyz(27.5720, 16.1505, 74.3229)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49E3 #9DE349
analogous
#4950E3 #8F49E3 #DC49E3
triadic
#8F49E3 #E38F49 #49E38F
tetradic
#8F49E3 #E34950 #9DE349 #49E3DC
square
#8F49E3 #E34950 #9DE349 #49E3DC
split-complementary
#8F49E3 #E3DC49 #50E349
monochromatic
#53189A #6F20CF #8F49E3 #B07EEB #D0B3F3

Accessibility & contrast

On white

4.96
#8F49E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#8F49E3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49E3
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49E3#FFFFFF#000000##FFFFFF
##8F49E31.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE8
Deuteranopia (green-blind)
#006FE0
Tritanopia (blue-blind)
#7C6D90
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f49e3;
/* rgb */ color: rgb(143, 73, 227);
/* oklch */ color: oklch(57.0% 0.222 300.2);
Tailwind
colors: {
  custom: {
    50: '#b681ed',
    500: '#8f49e3',
    950: '#000000',
  },
}
SCSS
$custom: #8f49e3;
$custom-light: #b681ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49e3",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 227
  },
  "hsl": {
    "h": 267.273,
    "s": 73.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.57044,
    "c": 0.2216,
    "h": 300.2
  },
  "luminance": 0.16151
}

Semantic roles & 50–950 ramp

primary
#8F49E3
secondary
#C7E2A6
accent
#F0389C
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F49E3

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

Preview Lab → · Contrast checker → · Palette generator →

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