#8F4ADB#8F4ADB

#8F4ADB is a mid, highly saturated violet. Relative luminance 0.159; OKLCH L 56.6% C 0.212 H 301.8°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#8F4ADB
RGBrgb(143, 74, 219)
HSLhsl(269, 67%, 57%)
HSVhsv(269, 66%, 86%)
CMYKcmyk(34.7%, 66.2%, 0%, 14.1%)
CIE-LABlab(46.78, 56.29, -63.27)
CIE-LCHlch(46.78, 84.68, 311.66°)
OKLaboklab(56.58% 0.1116 -0.18)
OKLCHoklch(56.58% 0.212 301.8)
XYZxyz(26.5596, 15.8516, 68.6645)
Luminance0.1585 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4ADB #96DB4A
analogous
#4A4DDB #8F4ADB #D84ADB
triadic
#8F4ADB #DB8F4A #4ADB8F
tetradic
#8F4ADB #DB4A4D #96DB4A #4ADBD8
square
#8F4ADB #DB4A4D #96DB4A #4ADBD8
split-complementary
#8F4ADB #DBD84A #4DDB4A
monochromatic
#531C8E #7026C1 #8F4ADB #AF7DE5 #CEB0EF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F4ADB#FFFFFF#000000##FFFFFF
##8F4ADB1.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)
#006EDF
Deuteranopia (green-blind)
#006ED8
Tritanopia (blue-blind)
#7F6B8C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4adb;
/* rgb */ color: rgb(143, 74, 219);
/* oklch */ color: oklch(56.6% 0.212 301.8);
Tailwind
colors: {
  custom: {
    50: '#b581e7',
    500: '#8f4adb',
    950: '#000000',
  },
}
SCSS
$custom: #8f4adb;
$custom-light: #b581e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4adb",
  "rgb": {
    "r": 143,
    "g": 74,
    "b": 219
  },
  "hsl": {
    "h": 268.552,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56584,
    "c": 0.21174,
    "h": 301.8
  },
  "luminance": 0.15852
}

Semantic roles & 50–950 ramp

primary
#8F4ADB
secondary
#C2DEA3
accent
#EA3E98
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4ADB

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

Preview Lab → · Contrast checker → · Palette generator →

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