#8F4FBF#8F4FBF

#8F4FBF is a mid, vivid violet. Relative luminance 0.152; OKLCH L 55.4% C 0.174 H 308.1°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#8F4FBF
RGBrgb(143, 79, 191)
HSLhsl(274, 47%, 53%)
HSVhsv(274, 59%, 75%)
CMYKcmyk(25.1%, 58.6%, 0%, 25.1%)
CIE-LABlab(45.90, 47.13, -48.57)
CIE-LCHlch(45.90, 67.68, 314.14°)
OKLaboklab(55.37% 0.1073 -0.1368)
OKLCHoklch(55.37% 0.174 308.1)
XYZxyz(23.5258, 15.1935, 50.9734)
Luminance0.1519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FBF #7FBF4F
analogous
#574FBF #8F4FBF #BF4FB7
triadic
#8F4FBF #BF8F4F #4FBF8F
tetradic
#8F4FBF #BF574F #7FBF4F #4FB7BF
square
#8F4FBF #BF574F #7FBF4F #4FB7BF
split-complementary
#8F4FBF #B7BF4F #4FBF57
monochromatic
#4F276C #6F3899 #8F4FBF #AC7CCF #C8A9E0

Accessibility & contrast

On white

5.20
#8F4FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#8F4FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FBF
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FBF#FFFFFF#000000##FFFFFF
##8F4FBF1.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246AC3
Deuteranopia (green-blind)
#3F6DBC
Tritanopia (blue-blind)
#88647F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #8f4fbf;
/* rgb */ color: rgb(143, 79, 191);
/* oklch */ color: oklch(55.4% 0.174 308.1);
Tailwind
colors: {
  custom: {
    50: '#b383d3',
    500: '#8f4fbf',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fbf;
$custom-light: #b383d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fbf",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 191
  },
  "hsl": {
    "h": 274.286,
    "s": 46.667,
    "l": 52.941
  },
  "oklch": {
    "l": 0.55369,
    "c": 0.17385,
    "h": 308.1
  },
  "luminance": 0.15193
}

Semantic roles & 50–950 ramp

primary
#8F4FBF
secondary
#B1CD9D
accent
#D6518A
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8F4FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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