#8F54BB#8F54BB

#8F54BB is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.9% C 0.162 H 308.5°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8F54BB
RGBrgb(143, 84, 187)
HSLhsl(274, 43%, 53%)
HSVhsv(274, 55%, 73%)
CMYKcmyk(23.5%, 55.1%, 0%, 26.7%)
CIE-LABlab(46.67, 43.54, -45.02)
CIE-LCHlch(46.67, 62.63, 314.05°)
OKLaboklab(55.86% 0.1006 -0.1264)
OKLCHoklch(55.86% 0.162 308.5)
XYZxyz(23.4659, 15.7685, 48.8115)
Luminance0.1577 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F54BB #80BB54
analogous
#5B54BB #8F54BB #BB54B3
triadic
#8F54BB #BB8F54 #54BB8F
tetradic
#8F54BB #BB5B54 #80BB54 #54B3BB
square
#8F54BB #BB5B54 #80BB54 #54B3BB
split-complementary
#8F54BB #B3BB54 #54BB5B
monochromatic
#4F2A6A #6F3C96 #8F54BB #AC80CC #C8ACDE

Accessibility & contrast

On white

5.06
#8F54BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#8F54BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F54BB
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F54BB#FFFFFF#000000##FFFFFF
##8F54BB1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#336CBE
Deuteranopia (green-blind)
#486FB8
Tritanopia (blue-blind)
#89677F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f54bb;
/* rgb */ color: rgb(143, 84, 187);
/* oklch */ color: oklch(55.9% 0.162 308.5);
Tailwind
colors: {
  custom: {
    50: '#b286d0',
    500: '#8f54bb',
    950: '#000000',
  },
}
SCSS
$custom: #8f54bb;
$custom-light: #b286d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f54bb",
  "rgb": {
    "r": 143,
    "g": 84,
    "b": 187
  },
  "hsl": {
    "h": 274.369,
    "s": 43.096,
    "l": 53.137
  },
  "oklch": {
    "l": 0.55859,
    "c": 0.16158,
    "h": 308.5
  },
  "luminance": 0.15768
}

Semantic roles & 50–950 ramp

primary
#8F54BB
secondary
#B2CC9F
accent
#D3558B
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8F54BB

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

Preview Lab → · Contrast checker → · Palette generator →

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