#8F4FB2#8F4FB2

#8F4FB2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.6% C 0.159 H 312.1°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#8F4FB2
RGBrgb(143, 79, 178)
HSLhsl(279, 39%, 50%)
HSVhsv(279, 56%, 70%)
CMYKcmyk(19.7%, 55.6%, 0%, 30.2%)
CIE-LABlab(45.15, 44.17, -42.18)
CIE-LCHlch(45.15, 61.07, 316.32°)
OKLaboklab(54.58% 0.1068 -0.1181)
OKLCHoklch(54.58% 0.159 312.1)
XYZxyz(22.1581, 14.6465, 43.7706)
Luminance0.1465 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FB2 #72B24F
analogous
#5E4FB2 #8F4FB2 #B24FA3
triadic
#8F4FB2 #B28F4F #4FB28F
tetradic
#8F4FB2 #B25E4F #72B24F #4FA3B2
square
#8F4FB2 #B25E4F #72B24F #4FA3B2
split-complementary
#8F4FB2 #A3B24F #4FB25E
monochromatic
#4B295E #6D3C88 #8F4FB2 #AA7AC5 #C5A4D7

Accessibility & contrast

On white

5.34
#8F4FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#8F4FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FB2
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FB2#FFFFFF#000000##FFFFFF
##8F4FB21.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3368B5
Deuteranopia (green-blind)
#496CB0
Tritanopia (blue-blind)
#8B6079
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f4fb2;
/* rgb */ color: rgb(143, 79, 178);
/* oklch */ color: oklch(54.6% 0.159 312.1);
Tailwind
colors: {
  custom: {
    50: '#b283c9',
    500: '#8f4fb2',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fb2;
$custom-light: #b283c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fb2",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 178
  },
  "hsl": {
    "h": 278.788,
    "s": 39.13,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54575,
    "c": 0.15926,
    "h": 312.1
  },
  "luminance": 0.14646
}

Semantic roles & 50–950 ramp

primary
#8F4FB2
secondary
#A8C498
accent
#CF5983
background
#FBF8FC
surface
#F6EFF8
border
#D0CAD1
text
#110B13
muted
#807C82

Preview Lab

Preview with #8F4FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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