#8F4CD4#8F4CD4

#8F4CD4 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.3% C 0.201 H 303.1°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#8F4CD4
RGBrgb(143, 76, 212)
HSLhsl(270, 61%, 56%)
HSVhsv(270, 64%, 83%)
CMYKcmyk(32.5%, 64.2%, 0%, 16.9%)
CIE-LABlab(46.66, 53.62, -59.46)
CIE-LCHlch(46.66, 80.07, 312.04°)
OKLaboklab(56.35% 0.1101 -0.1688)
OKLCHoklch(56.35% 0.201 303.1)
XYZxyz(25.7931, 15.7620, 63.9581)
Luminance0.1576 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CD4 #91D44C
analogous
#4C4DD4 #8F4CD4 #D34CD4
triadic
#8F4CD4 #D48F4C #4CD48F
tetradic
#8F4CD4 #D44C4D #91D44C #4CD4D3
square
#8F4CD4 #D44C4D #91D44C #4CD4D3
split-complementary
#8F4CD4 #D4D34C #4DD44C
monochromatic
#522086 #702CB7 #8F4CD4 #AE7DE0 #CDAFEC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F4CD4#FFFFFF#000000##FFFFFF
##8F4CD41.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)
#006DD8
Deuteranopia (green-blind)
#1E6ED1
Tritanopia (blue-blind)
#826A89
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4cd4;
/* rgb */ color: rgb(143, 76, 212);
/* oklch */ color: oklch(56.3% 0.201 303.1);
Tailwind
colors: {
  custom: {
    50: '#b482e2',
    500: '#8f4cd4',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cd4;
$custom-light: #b482e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cd4",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 212
  },
  "hsl": {
    "h": 269.559,
    "s": 61.261,
    "l": 56.471
  },
  "oklch": {
    "l": 0.56348,
    "c": 0.20149,
    "h": 303.1
  },
  "luminance": 0.15762
}

Semantic roles & 50–950 ramp

primary
#8F4CD4
secondary
#BEDAA2
accent
#E44395
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8F4CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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