#8F49E7#8F49E7

#8F49E7 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.3% C 0.226 H 299.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8F49E7
RGBrgb(143, 73, 231)
HSLhsl(267, 77%, 60%)
HSVhsv(267, 68%, 91%)
CMYKcmyk(38.1%, 68.4%, 0%, 9.4%)
CIE-LABlab(47.46, 59.67, -68.97)
CIE-LCHlch(47.46, 91.20, 310.86°)
OKLaboklab(57.34% 0.111 -0.1967)
OKLCHoklch(57.34% 0.226 299.4)
XYZxyz(28.1304, 16.3739, 77.2642)
Luminance0.1637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49E7 #A1E749
analogous
#4952E7 #8F49E7 #DE49E7
triadic
#8F49E7 #E78F49 #49E78F
tetradic
#8F49E7 #E74952 #A1E749 #49E7DE
square
#8F49E7 #E74952 #A1E749 #49E7DE
split-complementary
#8F49E7 #E7DE49 #52E749
monochromatic
#5315A0 #6F1CD7 #8F49E7 #B07FEE #D2B5F5

Accessibility & contrast

On white

4.91
#8F49E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#8F49E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49E7
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49E7#FFFFFF#000000##FFFFFF
##8F49E71.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EC
Deuteranopia (green-blind)
#006FE4
Tritanopia (blue-blind)
#7B6F93
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f49e7;
/* rgb */ color: rgb(143, 73, 231);
/* oklch */ color: oklch(57.3% 0.226 299.4);
Tailwind
colors: {
  custom: {
    50: '#b681f0',
    500: '#8f49e7',
    950: '#000000',
  },
}
SCSS
$custom: #8f49e7;
$custom-light: #b681f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49e7",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 231
  },
  "hsl": {
    "h": 266.582,
    "s": 76.699,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57342,
    "c": 0.22588,
    "h": 299.4
  },
  "luminance": 0.16374
}

Semantic roles & 50–950 ramp

primary
#8F49E7
secondary
#C9E5A7
accent
#F3359F
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F49E7

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

Preview Lab → · Contrast checker → · Palette generator →

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