#8F4DBE#8F4DBE

#8F4DBE is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.0% C 0.176 H 308.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8F4DBE
RGBrgb(143, 77, 190)
HSLhsl(275, 47%, 52%)
HSVhsv(275, 59%, 75%)
CMYKcmyk(24.7%, 59.5%, 0%, 25.5%)
CIE-LABlab(45.45, 47.94, -48.71)
CIE-LCHlch(45.45, 68.35, 314.54°)
OKLaboklab(55.02% 0.1098 -0.1372)
OKLCHoklch(55.02% 0.176 308.7)
XYZxyz(23.2740, 14.8655, 50.3485)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DBE #7CBE4D
analogous
#564DBE #8F4DBE #BE4DB5
triadic
#8F4DBE #BE8F4D #4DBE8F
tetradic
#8F4DBE #BE564D #7CBE4D #4DB5BE
square
#8F4DBE #BE564D #7CBE4D #4DB5BE
split-complementary
#8F4DBE #B5BE4D #4DBE56
monochromatic
#4E276A #6F3797 #8F4DBE #AB7ACE #C7A7DF

Accessibility & contrast

On white

5.29
#8F4DBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8F4DBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DBE
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DBE#FFFFFF#000000##FFFFFF
##8F4DBE1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2069C2
Deuteranopia (green-blind)
#3D6CBB
Tritanopia (blue-blind)
#88637E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f4dbe;
/* rgb */ color: rgb(143, 77, 190);
/* oklch */ color: oklch(55.0% 0.176 308.7);
Tailwind
colors: {
  custom: {
    50: '#b382d2',
    500: '#8f4dbe',
    950: '#000000',
  },
}
SCSS
$custom: #8f4dbe;
$custom-light: #b382d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4dbe",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 190
  },
  "hsl": {
    "h": 275.044,
    "s": 46.502,
    "l": 52.353
  },
  "oklch": {
    "l": 0.55022,
    "c": 0.17573,
    "h": 308.7
  },
  "luminance": 0.14865
}

Semantic roles & 50–950 ramp

primary
#8F4DBE
secondary
#AFCC9B
accent
#D65289
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F4DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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