#8F49CE#8F49CE

#8F49CE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.5% C 0.199 H 304.9°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8F49CE
RGBrgb(143, 73, 206)
HSLhsl(272, 58%, 55%)
HSVhsv(272, 65%, 81%)
CMYKcmyk(30.6%, 64.6%, 0%, 19.2%)
CIE-LABlab(45.72, 53.69, -57.54)
CIE-LCHlch(45.72, 78.69, 313.02°)
OKLaboklab(55.54% 0.1139 -0.1631)
OKLCHoklch(55.54% 0.199 304.9)
XYZxyz(24.8483, 15.0611, 59.9786)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49CE #88CE49
analogous
#4D49CE #8F49CE #CE49CB
triadic
#8F49CE #CE8F49 #49CE8F
tetradic
#8F49CE #CE4D49 #88CE49 #49CBCE
square
#8F49CE #CE4D49 #88CE49 #49CBCE
split-complementary
#8F49CE #CBCE49 #49CE4D
monochromatic
#51217B #702EAC #8F49CE #AD79DB #CAA9E8

Accessibility & contrast

On white

5.23
#8F49CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8F49CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49CE
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49CE#FFFFFF#000000##FFFFFF
##8F49CE1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD2
Deuteranopia (green-blind)
#246CCB
Tritanopia (blue-blind)
#846685
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f49ce;
/* rgb */ color: rgb(143, 73, 206);
/* oklch */ color: oklch(55.5% 0.199 304.9);
Tailwind
colors: {
  custom: {
    50: '#b480de',
    500: '#8f49ce',
    950: '#000000',
  },
}
SCSS
$custom: #8f49ce;
$custom-light: #b480de;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49ce",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 206
  },
  "hsl": {
    "h": 271.579,
    "s": 57.576,
    "l": 54.706
  },
  "oklch": {
    "l": 0.55541,
    "c": 0.19897,
    "h": 304.9
  },
  "luminance": 0.15061
}

Semantic roles & 50–950 ramp

primary
#8F49CE
secondary
#B8D59D
accent
#E14790
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F49CE

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

Preview Lab → · Contrast checker → · Palette generator →

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