#8F4FBE#8F4FBE

#8F4FBE is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.3% C 0.173 H 308.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#8F4FBE
RGBrgb(143, 79, 190)
HSLhsl(275, 46%, 53%)
HSVhsv(275, 58%, 75%)
CMYKcmyk(24.7%, 58.4%, 0%, 25.5%)
CIE-LABlab(45.84, 46.90, -48.09)
CIE-LCHlch(45.84, 67.17, 314.28°)
OKLaboklab(55.31% 0.1072 -0.1354)
OKLCHoklch(55.31% 0.173 308.4)
XYZxyz(23.4161, 15.1497, 50.3958)
Luminance0.1515 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FBE #7EBE4F
analogous
#584FBE #8F4FBE #BE4FB5
triadic
#8F4FBE #BE8F4F #4FBE8F
tetradic
#8F4FBE #BE584F #7EBE4F #4FB5BE
square
#8F4FBE #BE584F #7EBE4F #4FB5BE
split-complementary
#8F4FBE #B5BE4F #4FBE58
monochromatic
#4E286B #6F3898 #8F4FBE #AB7CCF #C8A8DF

Accessibility & contrast

On white

5.21
#8F4FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#8F4FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FBE
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FBE#FFFFFF#000000##FFFFFF
##8F4FBE1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#256AC2
Deuteranopia (green-blind)
#406DBB
Tritanopia (blue-blind)
#88647F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f4fbe;
/* rgb */ color: rgb(143, 79, 190);
/* oklch */ color: oklch(55.3% 0.173 308.4);
Tailwind
colors: {
  custom: {
    50: '#b383d2',
    500: '#8f4fbe',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fbe;
$custom-light: #b383d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fbe",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 190
  },
  "hsl": {
    "h": 274.595,
    "s": 46.058,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55306,
    "c": 0.17272,
    "h": 308.4
  },
  "luminance": 0.15149
}

Semantic roles & 50–950 ramp

primary
#8F4FBE
secondary
#B1CC9C
accent
#D6528A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F4FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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