#8F4BBE#8F4BBE

#8F4BBE is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.7% C 0.179 H 308.9°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#8F4BBE
RGBrgb(143, 75, 190)
HSLhsl(275, 47%, 52%)
HSVhsv(275, 61%, 75%)
CMYKcmyk(24.7%, 60.5%, 0%, 25.5%)
CIE-LABlab(45.07, 48.97, -49.32)
CIE-LCHlch(45.07, 69.50, 314.79°)
OKLaboklab(54.74% 0.1123 -0.139)
OKLCHoklch(54.74% 0.179 308.9)
XYZxyz(23.1362, 14.5899, 50.3025)
Luminance0.1459 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BBE #7ABE4B
analogous
#564BBE #8F4BBE #BE4BB4
triadic
#8F4BBE #BE8F4B #4BBE8F
tetradic
#8F4BBE #BE564B #7ABE4B #4BB4BE
square
#8F4BBE #BE564B #7ABE4B #4BB4BE
split-complementary
#8F4BBE #B4BE4B #4BBE56
monochromatic
#4D2669 #6F3696 #8F4BBE #AB78CE #C7A5DE

Accessibility & contrast

On white

5.36
#8F4BBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#8F4BBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BBE
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BBE#FFFFFF#000000##FFFFFF
##8F4BBE1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C2
Deuteranopia (green-blind)
#3B6CBB
Tritanopia (blue-blind)
#88617D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8f4bbe;
/* rgb */ color: rgb(143, 75, 190);
/* oklch */ color: oklch(54.7% 0.179 308.9);
Tailwind
colors: {
  custom: {
    50: '#b381d2',
    500: '#8f4bbe',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bbe;
$custom-light: #b381d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bbe",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 190
  },
  "hsl": {
    "h": 275.478,
    "s": 46.939,
    "l": 51.961
  },
  "oklch": {
    "l": 0.54744,
    "c": 0.17869,
    "h": 308.9
  },
  "luminance": 0.14589
}

Semantic roles & 50–950 ramp

primary
#8F4BBE
secondary
#AECC99
accent
#D75188
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110A14
muted
#807C83

Preview Lab

Preview with #8F4BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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