#8F4BC7#8F4BC7

#8F4BC7 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.3% C 0.189 H 306.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#8F4BC7
RGBrgb(143, 75, 199)
HSLhsl(273, 53%, 54%)
HSVhsv(273, 62%, 78%)
CMYKcmyk(28.1%, 62.3%, 0%, 22%)
CIE-LABlab(45.63, 51.05, -53.64)
CIE-LCHlch(45.63, 74.05, 313.58°)
OKLaboklab(55.33% 0.1121 -0.1517)
OKLCHoklch(55.33% 0.189 306.5)
XYZxyz(24.1504, 14.9956, 55.6439)
Luminance0.1499 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BC7 #83C74B
analogous
#514BC7 #8F4BC7 #C74BC1
triadic
#8F4BC7 #C78F4B #4BC78F
tetradic
#8F4BC7 #C7514B #83C74B #4BC1C7
square
#8F4BC7 #C7514B #83C74B #4BC1C7
split-complementary
#8F4BC7 #C1C74B #4BC751
monochromatic
#502474 #7032A2 #8F4BC7 #AC7AD6 #C9A8E4

Accessibility & contrast

On white

5.25
#8F4BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#8F4BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BC7
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BC7#FFFFFF#000000##FFFFFF
##8F4BC71.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#316CC4
Tritanopia (blue-blind)
#866482
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f4bc7;
/* rgb */ color: rgb(143, 75, 199);
/* oklch */ color: oklch(55.3% 0.189 306.5);
Tailwind
colors: {
  custom: {
    50: '#b481d9',
    500: '#8f4bc7',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bc7;
$custom-light: #b481d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bc7",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 272.903,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55331,
    "c": 0.18858,
    "h": 306.5
  },
  "luminance": 0.14995
}

Semantic roles & 50–950 ramp

primary
#8F4BC7
secondary
#B4D19C
accent
#DC4C8D
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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