#8F4CB2#8F4CB2

#8F4CB2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.164 H 312.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#8F4CB2
RGBrgb(143, 76, 178)
HSLhsl(279, 40%, 50%)
HSVhsv(279, 57%, 70%)
CMYKcmyk(19.7%, 57.3%, 0%, 30.2%)
CIE-LABlab(44.55, 45.75, -43.13)
CIE-LCHlch(44.55, 62.87, 316.69°)
OKLaboklab(54.14% 0.1108 -0.1209)
OKLCHoklch(54.14% 0.164 312.5)
XYZxyz(21.9466, 14.2234, 43.7001)
Luminance0.1422 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CB2 #6FB24C
analogous
#5C4CB2 #8F4CB2 #B24CA2
triadic
#8F4CB2 #B28F4C #4CB28F
tetradic
#8F4CB2 #B25C4C #6FB24C #4CA2B2
square
#8F4CB2 #B25C4C #6FB24C #4CA2B2
split-complementary
#8F4CB2 #A2B24C #4CB25C
monochromatic
#4A275C #6D3A87 #8F4CB2 #AA76C5 #C5A1D7

Accessibility & contrast

On white

5.46
#8F4CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#8F4CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CB2
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CB2#FFFFFF#000000##FFFFFF
##8F4CB21.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D66B5
Deuteranopia (green-blind)
#466BAF
Tritanopia (blue-blind)
#8B5E78
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8f4cb2;
/* rgb */ color: rgb(143, 76, 178);
/* oklch */ color: oklch(54.1% 0.164 312.5);
Tailwind
colors: {
  custom: {
    50: '#b281c9',
    500: '#8f4cb2',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cb2;
$custom-light: #b281c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cb2",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 178
  },
  "hsl": {
    "h": 279.412,
    "s": 40.157,
    "l": 49.804
  },
  "oklch": {
    "l": 0.54139,
    "c": 0.16399,
    "h": 312.5
  },
  "luminance": 0.14223
}

Semantic roles & 50–950 ramp

primary
#8F4CB2
secondary
#A6C496
accent
#D05881
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110A13
muted
#807C82

Preview Lab

Preview with #8F4CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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