#8F4BC8#8F4BC8

#8F4BC8 is a mid, vivid violet. Relative luminance 0.150; OKLCH L 55.4% C 0.190 H 306.2°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8F4BC8
RGBrgb(143, 75, 200)
HSLhsl(273, 53%, 54%)
HSVhsv(273, 63%, 78%)
CMYKcmyk(28.5%, 62.5%, 0%, 21.6%)
CIE-LABlab(45.69, 51.28, -54.12)
CIE-LCHlch(45.69, 74.56, 313.46°)
OKLaboklab(55.4% 0.112 -0.1531)
OKLCHoklch(55.4% 0.19 306.2)
XYZxyz(24.2669, 15.0421, 56.2574)
Luminance0.1504 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BC8 #84C84B
analogous
#514BC8 #8F4BC8 #C84BC3
triadic
#8F4BC8 #C88F4B #4BC88F
tetradic
#8F4BC8 #C8514B #84C84B #4BC3C8
square
#8F4BC8 #C8514B #84C84B #4BC3C8
split-complementary
#8F4BC8 #C3C84B #4BC851
monochromatic
#502475 #7032A4 #8F4BC8 #AC7AD6 #C9A9E5

Accessibility & contrast

On white

5.24
#8F4BC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#8F4BC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BC8
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BC8#FFFFFF#000000##FFFFFF
##8F4BC81.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#306DC5
Tritanopia (blue-blind)
#856583
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8f4bc8;
/* rgb */ color: rgb(143, 75, 200);
/* oklch */ color: oklch(55.4% 0.190 306.2);
Tailwind
colors: {
  custom: {
    50: '#b481d9',
    500: '#8f4bc8',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bc8;
$custom-light: #b481d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bc8",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 200
  },
  "hsl": {
    "h": 272.64,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55397,
    "c": 0.18968,
    "h": 306.2
  },
  "luminance": 0.15042
}

Semantic roles & 50–950 ramp

primary
#8F4BC8
secondary
#B5D29D
accent
#DD4B8E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8F4BC8

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

Preview Lab → · Contrast checker → · Palette generator →

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