#8F4BD6#8F4BD6

#8F4BD6 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.4% C 0.205 H 302.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8F4BD6
RGBrgb(143, 75, 214)
HSLhsl(269, 63%, 57%)
HSVhsv(269, 65%, 84%)
CMYKcmyk(33.2%, 65%, 0%, 16.1%)
CIE-LABlab(46.61, 54.60, -60.68)
CIE-LCHlch(46.61, 81.63, 311.98°)
OKLaboklab(56.36% 0.111 -0.1723)
OKLCHoklch(56.36% 0.205 302.8)
XYZxyz(25.9785, 15.7268, 65.2722)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BD6 #92D64B
analogous
#4B4DD6 #8F4BD6 #D54BD6
triadic
#8F4BD6 #D68F4B #4BD68F
tetradic
#8F4BD6 #D64B4D #92D64B #4BD6D5
square
#8F4BD6 #D64B4D #92D64B #4BD6D5
split-complementary
#8F4BD6 #D6D54B #4DD64B
monochromatic
#521F88 #702ABA #8F4BD6 #AE7DE1 #CDAFED

Accessibility & contrast

On white

5.07
#8F4BD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F4BD6
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BD6#FFFFFF#000000##FFFFFF
##8F4BD61.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DDA
Deuteranopia (green-blind)
#166ED3
Tritanopia (blue-blind)
#816A8A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4bd6;
/* rgb */ color: rgb(143, 75, 214);
/* oklch */ color: oklch(56.4% 0.205 302.8);
Tailwind
colors: {
  custom: {
    50: '#b581e3',
    500: '#8f4bd6',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bd6;
$custom-light: #b581e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bd6",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 214
  },
  "hsl": {
    "h": 269.353,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56357,
    "c": 0.20501,
    "h": 302.8
  },
  "luminance": 0.15727
}

Semantic roles & 50–950 ramp

primary
#8F4BD6
secondary
#BFDBA2
accent
#E64296
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4BD6

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

Preview Lab → · Contrast checker → · Palette generator →

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