#8F4CB7#8F4CB7

#8F4CB7 is a mid, vivid violet. Relative luminance 0.144; OKLCH L 54.4% C 0.169 H 310.9°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8F4CB7
RGBrgb(143, 76, 183)
HSLhsl(278, 43%, 51%)
HSVhsv(278, 58%, 72%)
CMYKcmyk(21.9%, 58.5%, 0%, 28.2%)
CIE-LABlab(44.84, 46.87, -45.60)
CIE-LCHlch(44.84, 65.39, 315.79°)
OKLaboklab(54.44% 0.111 -0.1281)
OKLCHoklch(54.44% 0.169 310.9)
XYZxyz(22.4578, 14.4279, 46.3924)
Luminance0.1443 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CB7 #74B74C
analogous
#594CB7 #8F4CB7 #B74CA9
triadic
#8F4CB7 #B78F4C #4CB78F
tetradic
#8F4CB7 #B7594C #74B74C #4CA9B7
square
#8F4CB7 #B7594C #74B74C #4CA9B7
split-complementary
#8F4CB7 #A9B74C #4CB759
monochromatic
#4C2761 #6E398D #8F4CB7 #AA78C9 #C6A3DA

Accessibility & contrast

On white

5.40
#8F4CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8F4CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CB7
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CB7#FFFFFF#000000##FFFFFF
##8F4CB71.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2867BA
Deuteranopia (green-blind)
#426BB4
Tritanopia (blue-blind)
#8A5F7A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8f4cb7;
/* rgb */ color: rgb(143, 76, 183);
/* oklch */ color: oklch(54.4% 0.169 310.9);
Tailwind
colors: {
  custom: {
    50: '#b381cd',
    500: '#8f4cb7',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cb7;
$custom-light: #b381cd;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cb7",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 183
  },
  "hsl": {
    "h": 277.57,
    "s": 42.629,
    "l": 50.784
  },
  "oklch": {
    "l": 0.54444,
    "c": 0.16949,
    "h": 310.9
  },
  "luminance": 0.14427
}

Semantic roles & 50–950 ramp

primary
#8F4CB7
secondary
#A9C798
accent
#D25584
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B13
muted
#807C82

Preview Lab

Preview with #8F4CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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