#8F49B2#8F49B2

#8F49B2 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 53.7% C 0.169 H 312.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8F49B2
RGBrgb(143, 73, 178)
HSLhsl(280, 42%, 49%)
HSVhsv(280, 59%, 70%)
CMYKcmyk(19.7%, 59%, 0%, 30.2%)
CIE-LABlab(43.97, 47.30, -44.05)
CIE-LCHlch(43.97, 64.63, 317.04°)
OKLaboklab(53.72% 0.1148 -0.1236)
OKLCHoklch(53.72% 0.169 312.9)
XYZxyz(21.7447, 13.8197, 43.6328)
Luminance0.1382 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49B2 #6CB249
analogous
#5B49B2 #8F49B2 #B249A1
triadic
#8F49B2 #B28F49 #49B28F
tetradic
#8F49B2 #B25B49 #6CB249 #49A1B2
square
#8F49B2 #B25B49 #6CB249 #49A1B2
split-complementary
#8F49B2 #A1B249 #49B25B
monochromatic
#49255B #6C3787 #8F49B2 #AA73C5 #C49ED7

Accessibility & contrast

On white

5.58
#8F49B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#8F49B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49B2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49B2#FFFFFF#000000##FFFFFF
##8F49B21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B5
Deuteranopia (green-blind)
#436AAF
Tritanopia (blue-blind)
#8B5C76
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8f49b2;
/* rgb */ color: rgb(143, 73, 178);
/* oklch */ color: oklch(53.7% 0.169 312.9);
Tailwind
colors: {
  custom: {
    50: '#b37fc9',
    500: '#8f49b2',
    950: '#000000',
  },
}
SCSS
$custom: #8f49b2;
$custom-light: #b37fc9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49b2",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 178
  },
  "hsl": {
    "h": 280,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.53717,
    "c": 0.16863,
    "h": 312.9
  },
  "luminance": 0.13819
}

Semantic roles & 50–950 ramp

primary
#8F49B2
secondary
#A3C493
accent
#D2567F
background
#FBF7FC
surface
#F6EEF8
border
#D0C9D1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8F49B2

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

Preview Lab → · Contrast checker → · Palette generator →

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