#8F4BD1#8F4BD1

#8F4BD1 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 56.0% C 0.200 H 303.9°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8F4BD1
RGBrgb(143, 75, 209)
HSLhsl(270, 59%, 56%)
HSVhsv(270, 64%, 82%)
CMYKcmyk(31.6%, 64.1%, 0%, 18%)
CIE-LABlab(46.28, 53.40, -58.36)
CIE-LCHlch(46.28, 79.11, 312.46°)
OKLaboklab(56.01% 0.1114 -0.1655)
OKLCHoklch(56.01% 0.2 303.9)
XYZxyz(25.3498, 15.4753, 61.9608)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BD1 #8DD14B
analogous
#4C4BD1 #8F4BD1 #D14BD0
triadic
#8F4BD1 #D18F4B #4BD18F
tetradic
#8F4BD1 #D14C4B #8DD14B #4BD0D1
square
#8F4BD1 #D14C4B #8DD14B #4BD0D1
split-complementary
#8F4BD1 #D0D14B #4BD14C
monochromatic
#522181 #702DB1 #8F4BD1 #AD7CDD #CCACEA

Accessibility & contrast

On white

5.13
#8F4BD1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#8F4BD1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BD1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BD1#FFFFFF#000000##FFFFFF
##8F4BD11.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD5
Deuteranopia (green-blind)
#226ECE
Tritanopia (blue-blind)
#836887
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4bd1;
/* rgb */ color: rgb(143, 75, 209);
/* oklch */ color: oklch(56.0% 0.200 303.9);
Tailwind
colors: {
  custom: {
    50: '#b481e0',
    500: '#8f4bd1',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bd1;
$custom-light: #b481e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bd1",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 209
  },
  "hsl": {
    "h": 270.448,
    "s": 59.292,
    "l": 55.686
  },
  "oklch": {
    "l": 0.56009,
    "c": 0.19955,
    "h": 303.9
  },
  "luminance": 0.15475
}

Semantic roles & 50–950 ramp

primary
#8F4BD1
secondary
#BBD8A0
accent
#E24593
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8F4BD1

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

Preview Lab → · Contrast checker → · Palette generator →

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