#8F4CD5#8F4CD5

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

Color values

HEX#8F4CD5
RGBrgb(143, 76, 213)
HSLhsl(269, 62%, 57%)
HSVhsv(269, 64%, 84%)
CMYKcmyk(32.9%, 64.3%, 0%, 16.5%)
CIE-LABlab(46.73, 53.86, -59.93)
CIE-LCHlch(46.73, 80.57, 311.95°)
OKLaboklab(56.42% 0.11 -0.1701)
OKLCHoklch(56.42% 0.203 302.9)
XYZxyz(25.9196, 15.8126, 64.6245)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CD5 #92D54C
analogous
#4C4ED5 #8F4CD5 #D44CD5
triadic
#8F4CD5 #D58F4C #4CD58F
tetradic
#8F4CD5 #D54C4E #92D54C #4CD5D4
square
#8F4CD5 #D54C4E #92D54C #4CD5D4
split-complementary
#8F4CD5 #D5D44C #4ED54C
monochromatic
#522087 #702BB9 #8F4CD5 #AE7EE1 #CDAFEC

Accessibility & contrast

On white

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

On black

4.16
#8F4CD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8F4CD5#FFFFFF#000000##FFFFFF
##8F4CD51.005.044.165.04
#FFFFFF5.041.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD9
Deuteranopia (green-blind)
#1C6ED2
Tritanopia (blue-blind)
#816A8A
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4cd5;
/* rgb */ color: rgb(143, 76, 213);
/* oklch */ color: oklch(56.4% 0.203 302.9);
Tailwind
colors: {
  custom: {
    50: '#b582e3',
    500: '#8f4cd5',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cd5;
$custom-light: #b582e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cd5",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 213
  },
  "hsl": {
    "h": 269.343,
    "s": 61.991,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56418,
    "c": 0.2026,
    "h": 302.9
  },
  "luminance": 0.15813
}

Semantic roles & 50–950 ramp

primary
#8F4CD5
secondary
#BFDAA2
accent
#E54396
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #8F4CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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