#8F49BB#8F49BB

#8F49BB is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.3% C 0.178 H 310.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8F49BB
RGBrgb(143, 73, 187)
HSLhsl(277, 46%, 51%)
HSVhsv(277, 61%, 73%)
CMYKcmyk(23.5%, 61%, 0%, 26.7%)
CIE-LABlab(44.51, 49.31, -48.47)
CIE-LCHlch(44.51, 69.14, 315.49°)
OKLaboklab(54.28% 0.1148 -0.1365)
OKLCHoklch(54.28% 0.178 310.1)
XYZxyz(22.6782, 14.1930, 48.5489)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49BB #75BB49
analogous
#5649BB #8F49BB #BB49AE
triadic
#8F49BB #BB8F49 #49BB8F
tetradic
#8F49BB #BB5649 #75BB49 #49AEBB
square
#8F49BB #BB5649 #75BB49 #49AEBB
split-complementary
#8F49BB #AEBB49 #49BB56
monochromatic
#4C2564 #6E3691 #8F49BB #AA76CC #C6A2DC

Accessibility & contrast

On white

5.47
#8F49BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8F49BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49BB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49BB#FFFFFF#000000##FFFFFF
##8F49BB1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A66BF
Deuteranopia (green-blind)
#3C6AB8
Tritanopia (blue-blind)
#895F7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f49bb;
/* rgb */ color: rgb(143, 73, 187);
/* oklch */ color: oklch(54.3% 0.178 310.1);
Tailwind
colors: {
  custom: {
    50: '#b37fd0',
    500: '#8f49bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f49bb;
$custom-light: #b37fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49bb",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 187
  },
  "hsl": {
    "h": 276.842,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54279,
    "c": 0.17836,
    "h": 310.1
  },
  "luminance": 0.14193
}

Semantic roles & 50–950 ramp

primary
#8F49BB
secondary
#AAC997
accent
#D55385
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F49BB

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

Preview Lab → · Contrast checker → · Palette generator →

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