#8F49E6#8F49E6

#8F49E6 is a mid, highly saturated violet. Relative luminance 0.163; OKLCH L 57.3% C 0.225 H 299.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F49E6
RGBrgb(143, 73, 230)
HSLhsl(267, 76%, 59%)
HSVhsv(267, 68%, 90%)
CMYKcmyk(37.8%, 68.3%, 0%, 9.8%)
CIE-LABlab(47.39, 59.43, -68.53)
CIE-LCHlch(47.39, 90.70, 310.93°)
OKLaboklab(57.27% 0.1112 -0.1954)
OKLCHoklch(57.27% 0.225 299.6)
XYZxyz(27.9896, 16.3176, 76.5226)
Luminance0.1632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49E6 #A0E649
analogous
#4952E6 #8F49E6 #DE49E6
triadic
#8F49E6 #E68F49 #49E68F
tetradic
#8F49E6 #E64952 #A0E649 #49E6DE
square
#8F49E6 #E64952 #A0E649 #49E6DE
split-complementary
#8F49E6 #E6DE49 #52E649
monochromatic
#53169F #6F1DD5 #8F49E6 #B07FED #D1B5F5

Accessibility & contrast

On white

4.93
#8F49E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8F49E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49E6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49E6#FFFFFF#000000##FFFFFF
##8F49E61.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#006FE3
Tritanopia (blue-blind)
#7B6E92
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f49e6;
/* rgb */ color: rgb(143, 73, 230);
/* oklch */ color: oklch(57.3% 0.225 299.6);
Tailwind
colors: {
  custom: {
    50: '#b681ef',
    500: '#8f49e6',
    950: '#000000',
  },
}
SCSS
$custom: #8f49e6;
$custom-light: #b681ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49e6",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 230
  },
  "hsl": {
    "h": 266.752,
    "s": 75.845,
    "l": 59.412
  },
  "oklch": {
    "l": 0.57267,
    "c": 0.22481,
    "h": 299.6
  },
  "luminance": 0.16318
}

Semantic roles & 50–950 ramp

primary
#8F49E6
secondary
#C9E4A7
accent
#F2359E
background
#FBF8FE
surface
#F7EFFD
border
#D0CAD5
text
#120B17
muted
#817C85

Preview Lab

Preview with #8F49E6

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

Preview Lab → · Contrast checker → · Palette generator →

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