#8F49BA#8F49BA

#8F49BA is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.2% C 0.177 H 310.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#8F49BA
RGBrgb(143, 73, 186)
HSLhsl(277, 45%, 51%)
HSVhsv(277, 61%, 73%)
CMYKcmyk(23.1%, 60.8%, 0%, 27.1%)
CIE-LABlab(44.45, 49.08, -47.98)
CIE-LCHlch(44.45, 68.64, 315.65°)
OKLaboklab(54.22% 0.1148 -0.1351)
OKLCHoklch(54.22% 0.177 310.4)
XYZxyz(22.5715, 14.1504, 47.9871)
Luminance0.1415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F49BA #74BA49
analogous
#5649BA #8F49BA #BA49AC
triadic
#8F49BA #BA8F49 #49BA8F
tetradic
#8F49BA #BA5649 #74BA49 #49ACBA
square
#8F49BA #BA5649 #74BA49 #49ACBA
split-complementary
#8F49BA #ACBA49 #49BA56
monochromatic
#4C2663 #6E368F #8F49BA #AA75CB #C6A2DC

Accessibility & contrast

On white

5.48
#8F49BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#8F49BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F49BA
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F49BA#FFFFFF#000000##FFFFFF
##8F49BA1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C66BE
Deuteranopia (green-blind)
#3D6AB7
Tritanopia (blue-blind)
#895E7B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f49ba;
/* rgb */ color: rgb(143, 73, 186);
/* oklch */ color: oklch(54.2% 0.177 310.4);
Tailwind
colors: {
  custom: {
    50: '#b37fcf',
    500: '#8f49ba',
    950: '#000000',
  },
}
SCSS
$custom: #8f49ba;
$custom-light: #b37fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#8f49ba",
  "rgb": {
    "r": 143,
    "g": 73,
    "b": 186
  },
  "hsl": {
    "h": 277.168,
    "s": 45.02,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.17727,
    "h": 310.4
  },
  "luminance": 0.1415
}

Semantic roles & 50–950 ramp

primary
#8F49BA
secondary
#A9C896
accent
#D55384
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110A14
muted
#807C82

Preview Lab

Preview with #8F49BA

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

Preview Lab → · Contrast checker → · Palette generator →

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