#8F4BDC#8F4BDC

#8F4BDC is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.212 H 301.5°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8F4BDC
RGBrgb(143, 75, 220)
HSLhsl(268, 67%, 58%)
HSVhsv(268, 66%, 86%)
CMYKcmyk(35%, 65.9%, 0%, 13.7%)
CIE-LABlab(47.03, 56.04, -63.44)
CIE-LCHlch(47.03, 84.65, 311.46°)
OKLaboklab(56.78% 0.1104 -0.1805)
OKLCHoklch(56.78% 0.212 301.5)
XYZxyz(26.7589, 16.0390, 69.3823)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BDC #98DC4B
analogous
#4B4FDC #8F4BDC #D84BDC
triadic
#8F4BDC #DC8F4B #4BDC8F
tetradic
#8F4BDC #DC4B4F #98DC4B #4BDCD8
square
#8F4BDC #DC4B4F #98DC4B #4BDCD8
split-complementary
#8F4BDC #DCD84B #4FDC4B
monochromatic
#531C91 #7026C4 #8F4BDC #AF7EE6 #CFB1F0

Accessibility & contrast

On white

4.99
#8F4BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8F4BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BDC
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BDC#FFFFFF#000000##FFFFFF
##8F4BDC1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE0
Deuteranopia (green-blind)
#006FD9
Tritanopia (blue-blind)
#7F6C8D
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8f4bdc;
/* rgb */ color: rgb(143, 75, 220);
/* oklch */ color: oklch(56.8% 0.212 301.5);
Tailwind
colors: {
  custom: {
    50: '#b582e8',
    500: '#8f4bdc',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bdc;
$custom-light: #b582e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bdc",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 268.138,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.56783,
    "c": 0.21155,
    "h": 301.5
  },
  "luminance": 0.16039
}

Semantic roles & 50–950 ramp

primary
#8F4BDC
secondary
#C3DEA4
accent
#EA3D99
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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