#8F4DBF#8F4DBF

#8F4DBF is a mid, vivid violet. Relative luminance 0.149; OKLCH L 55.1% C 0.177 H 308.4°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#8F4DBF
RGBrgb(143, 77, 191)
HSLhsl(275, 47%, 53%)
HSVhsv(275, 60%, 75%)
CMYKcmyk(25.1%, 59.7%, 0%, 25.1%)
CIE-LABlab(45.51, 48.17, -49.20)
CIE-LCHlch(45.51, 68.85, 314.40°)
OKLaboklab(55.09% 0.1098 -0.1386)
OKLCHoklch(55.09% 0.177 308.4)
XYZxyz(23.3837, 14.9093, 50.9260)
Luminance0.1491 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DBF #7DBF4D
analogous
#564DBF #8F4DBF #BF4DB6
triadic
#8F4DBF #BF8F4D #4DBF8F
tetradic
#8F4DBF #BF564D #7DBF4D #4DB6BF
square
#8F4DBF #BF564D #7DBF4D #4DB6BF
split-complementary
#8F4DBF #B6BF4D #4DBF56
monochromatic
#4E276B #6F3798 #8F4DBF #AB7ACF #C8A7DF

Accessibility & contrast

On white

5.27
#8F4DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#8F4DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DBF
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DBF#FFFFFF#000000##FFFFFF
##8F4DBF1.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E69C3
Deuteranopia (green-blind)
#3D6DBC
Tritanopia (blue-blind)
#88637F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f4dbf;
/* rgb */ color: rgb(143, 77, 191);
/* oklch */ color: oklch(55.1% 0.177 308.4);
Tailwind
colors: {
  custom: {
    50: '#b382d3',
    500: '#8f4dbf',
    950: '#000000',
  },
}
SCSS
$custom: #8f4dbf;
$custom-light: #b382d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4dbf",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 274.737,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55086,
    "c": 0.17684,
    "h": 308.4
  },
  "luminance": 0.14909
}

Semantic roles & 50–950 ramp

primary
#8F4DBF
secondary
#B0CD9B
accent
#D75189
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F4DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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