#8F4BD4#8F4BD4

#8F4BD4 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.2% C 0.203 H 303.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8F4BD4
RGBrgb(143, 75, 212)
HSLhsl(270, 61%, 56%)
HSVhsv(270, 65%, 83%)
CMYKcmyk(32.5%, 64.6%, 0%, 16.9%)
CIE-LABlab(46.48, 54.12, -59.76)
CIE-LCHlch(46.48, 80.62, 312.17°)
OKLaboklab(56.22% 0.1112 -0.1696)
OKLCHoklch(56.22% 0.203 303.2)
XYZxyz(25.7247, 15.6253, 63.9353)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BD4 #90D44B
analogous
#4B4CD4 #8F4BD4 #D44BD4
triadic
#8F4BD4 #D48F4B #4BD48F
tetradic
#8F4BD4 #D44B4C #90D44B #4BD4D4
square
#8F4BD4 #D44B4C #90D44B #4BD4D4
split-complementary
#8F4BD4 #D4D44B #4CD44B
monochromatic
#522085 #702CB6 #8F4BD4 #AE7CE0 #CCAEEC

Accessibility & contrast

On white

5.09
#8F4BD4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8F4BD4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BD4
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BD4#FFFFFF#000000##FFFFFF
##8F4BD41.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD8
Deuteranopia (green-blind)
#1C6ED1
Tritanopia (blue-blind)
#826989
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4bd4;
/* rgb */ color: rgb(143, 75, 212);
/* oklch */ color: oklch(56.2% 0.203 303.2);
Tailwind
colors: {
  custom: {
    50: '#b481e2',
    500: '#8f4bd4',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bd4;
$custom-light: #b481e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bd4",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 212
  },
  "hsl": {
    "h": 269.781,
    "s": 61.435,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56217,
    "c": 0.20282,
    "h": 303.2
  },
  "luminance": 0.15625
}

Semantic roles & 50–950 ramp

primary
#8F4BD4
secondary
#BEDAA1
accent
#E54394
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8F4BD4

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

Preview Lab → · Contrast checker → · Palette generator →

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