#8F49BF#8F49BF

#8F49BF is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.5% C 0.183 H 308.9°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#8F49BF
RGBrgb(143, 73, 191)
HSLhsl(276, 48%, 52%)
HSVhsv(276, 62%, 75%)
CMYKcmyk(25.1%, 61.8%, 0%, 25.1%)
CIE-LABlab(44.75, 50.21, -50.41)
CIE-LCHlch(44.75, 71.15, 314.89°)
OKLaboklab(54.54% 0.1147 -0.1422)
OKLCHoklch(54.54% 0.183 308.9)
XYZxyz(23.1123, 14.3667, 50.8356)
Luminance0.1437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49BF #79BF49
analogous
#5449BF #8F49BF #BF49B4
triadic
#8F49BF #BF8F49 #49BF8F
tetradic
#8F49BF #BF5449 #79BF49 #49B4BF
square
#8F49BF #BF5449 #79BF49 #49B4BF
split-complementary
#8F49BF #B4BF49 #49BF54
monochromatic
#4D2569 #6E3596 #8F49BF #AB76CF #C7A4DF

Accessibility & contrast

On white

5.42
#8F49BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#8F49BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49BF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49BF#FFFFFF#000000##FFFFFF
##8F49BF1.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1067C3
Deuteranopia (green-blind)
#386BBC
Tritanopia (blue-blind)
#88607D
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f49bf;
/* rgb */ color: rgb(143, 73, 191);
/* oklch */ color: oklch(54.5% 0.183 308.9);
Tailwind
colors: {
  custom: {
    50: '#b380d3',
    500: '#8f49bf',
    950: '#000000',
  },
}
SCSS
$custom: #8f49bf;
$custom-light: #b380d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49bf",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 191
  },
  "hsl": {
    "h": 275.593,
    "s": 47.967,
    "l": 51.765
  },
  "oklch": {
    "l": 0.54536,
    "c": 0.1827,
    "h": 308.9
  },
  "luminance": 0.14366
}

Semantic roles & 50–950 ramp

primary
#8F49BF
secondary
#ADCC98
accent
#D85087
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8F49BF

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

Preview Lab → · Contrast checker → · Palette generator →

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