#8F4CD8#8F4CD8

#8F4CD8 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.206 H 302.2°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#8F4CD8
RGBrgb(143, 76, 216)
HSLhsl(269, 64%, 57%)
HSVhsv(269, 65%, 85%)
CMYKcmyk(33.8%, 64.8%, 0%, 15.3%)
CIE-LABlab(46.93, 54.58, -61.31)
CIE-LCHlch(46.93, 82.09, 311.68°)
OKLaboklab(56.63% 0.1097 -0.1742)
OKLCHoklch(56.63% 0.206 302.2)
XYZxyz(26.3039, 15.9663, 66.6485)
Luminance0.1597 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CD8 #95D84C
analogous
#4C4FD8 #8F4CD8 #D54CD8
triadic
#8F4CD8 #D88F4C #4CD88F
tetradic
#8F4CD8 #D84C4F #95D84C #4CD8D5
square
#8F4CD8 #D84C4F #95D84C #4CD8D5
split-complementary
#8F4CD8 #D8D54C #4FD84C
monochromatic
#521E8B #7029BE #8F4CD8 #AE7EE3 #CEB1EE

Accessibility & contrast

On white

5.01
#8F4CD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#8F4CD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CD8
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CD8#FFFFFF#000000##FFFFFF
##8F4CD81.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#136FD5
Tritanopia (blue-blind)
#806B8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4cd8;
/* rgb */ color: rgb(143, 76, 216);
/* oklch */ color: oklch(56.6% 0.206 302.2);
Tailwind
colors: {
  custom: {
    50: '#b582e5',
    500: '#8f4cd8',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cd8;
$custom-light: #b582e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cd8",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 216
  },
  "hsl": {
    "h": 268.714,
    "s": 64.22,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56628,
    "c": 0.20589,
    "h": 302.2
  },
  "luminance": 0.15966
}

Semantic roles & 50–950 ramp

primary
#8F4CD8
secondary
#C1DCA4
accent
#E74197
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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