#8F4BD8#8F4BD8

#8F4BD8 is a mid, highly saturated violet. Relative luminance 0.158; OKLCH L 56.5% C 0.207 H 302.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8F4BD8
RGBrgb(143, 75, 216)
HSLhsl(269, 64%, 57%)
HSVhsv(269, 65%, 85%)
CMYKcmyk(33.8%, 65.3%, 0%, 15.3%)
CIE-LABlab(46.75, 55.08, -61.60)
CIE-LCHlch(46.75, 82.64, 311.80°)
OKLaboklab(56.5% 0.1108 -0.1751)
OKLCHoklch(56.5% 0.207 302.3)
XYZxyz(26.2355, 15.8296, 66.6257)
Luminance0.1583 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BD8 #94D84B
analogous
#4B4ED8 #8F4BD8 #D64BD8
triadic
#8F4BD8 #D88F4B #4BD88F
tetradic
#8F4BD8 #D84B4E #94D84B #4BD8D6
square
#8F4BD8 #D84B4E #94D84B #4BD8D6
split-complementary
#8F4BD8 #D8D64B #4ED84B
monochromatic
#521E8B #7029BD #8F4BD8 #AE7DE3 #CEB0EE

Accessibility & contrast

On white

5.04
#8F4BD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#8F4BD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BD8
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BD8#FFFFFF#000000##FFFFFF
##8F4BD81.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDC
Deuteranopia (green-blind)
#0F6ED5
Tritanopia (blue-blind)
#806A8B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4bd8;
/* rgb */ color: rgb(143, 75, 216);
/* oklch */ color: oklch(56.5% 0.207 302.3);
Tailwind
colors: {
  custom: {
    50: '#b581e5',
    500: '#8f4bd8',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bd8;
$custom-light: #b581e5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bd8",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 216
  },
  "hsl": {
    "h": 268.936,
    "s": 64.384,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56498,
    "c": 0.2072,
    "h": 302.3
  },
  "luminance": 0.1583
}

Semantic roles & 50–950 ramp

primary
#8F4BD8
secondary
#C0DCA3
accent
#E74097
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4BD8

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

Preview Lab → · Contrast checker → · Palette generator →

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