#8F4BD3#8F4BD3

#8F4BD3 is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.202 H 303.5°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8F4BD3
RGBrgb(143, 75, 211)
HSLhsl(270, 61%, 56%)
HSVhsv(270, 64%, 83%)
CMYKcmyk(32.2%, 64.5%, 0%, 17.3%)
CIE-LABlab(46.41, 53.88, -59.29)
CIE-LCHlch(46.41, 80.12, 312.26°)
OKLaboklab(56.15% 0.1113 -0.1683)
OKLCHoklch(56.15% 0.202 303.5)
XYZxyz(25.5990, 15.5750, 63.2730)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4BD3 #8FD34B
analogous
#4B4BD3 #8F4BD3 #D34BD3
triadic
#8F4BD3 #D38F4B #4BD38F
tetradic
#8F4BD3 #D34B4B #8FD34B #4BD3D3
square
#8F4BD3 #D34B4B #8FD34B #4BD3D3
split-complementary
#8F4BD3 #D3D34B #4BD34B
monochromatic
#522083 #702CB5 #8F4BD3 #AE7CDF #CCADEB

Accessibility & contrast

On white

5.10
#8F4BD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#8F4BD3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4BD3
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4BD3#FFFFFF#000000##FFFFFF
##8F4BD31.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD7
Deuteranopia (green-blind)
#1E6ED0
Tritanopia (blue-blind)
#826988
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4bd3;
/* rgb */ color: rgb(143, 75, 211);
/* oklch */ color: oklch(56.1% 0.202 303.5);
Tailwind
colors: {
  custom: {
    50: '#b481e1',
    500: '#8f4bd3',
    950: '#000000',
  },
}
SCSS
$custom: #8f4bd3;
$custom-light: #b481e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4bd3",
  "rgb": {
    "r": 143,
    "g": 75,
    "b": 211
  },
  "hsl": {
    "h": 270,
    "s": 60.714,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56147,
    "c": 0.20174,
    "h": 303.5
  },
  "luminance": 0.15575
}

Semantic roles & 50–950 ramp

primary
#8F4BD3
secondary
#BDD9A1
accent
#E44494
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #8F4BD3

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

Preview Lab → · Contrast checker → · Palette generator →

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