#8F4CD2#8F4CD2

#8F4CD2 is a mid, vivid violet. Relative luminance 0.157; OKLCH L 56.2% C 0.199 H 303.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#8F4CD2
RGBrgb(143, 76, 210)
HSLhsl(270, 60%, 56%)
HSVhsv(270, 64%, 82%)
CMYKcmyk(31.9%, 63.8%, 0%, 17.6%)
CIE-LABlab(46.53, 53.14, -58.53)
CIE-LCHlch(46.53, 79.06, 312.24°)
OKLaboklab(56.21% 0.1102 -0.166)
OKLCHoklch(56.21% 0.199 303.6)
XYZxyz(25.5423, 15.6617, 62.6376)
Luminance0.1566 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4CD2 #8FD24C
analogous
#4C4CD2 #8F4CD2 #D24CD2
triadic
#8F4CD2 #D28F4C #4CD28F
tetradic
#8F4CD2 #D24C4C #8FD24C #4CD2D2
square
#8F4CD2 #D24C4C #8FD24C #4CD2D2
split-complementary
#8F4CD2 #D2D24C #4CD24C
monochromatic
#522183 #702DB4 #8F4CD2 #AE7DDE #CCAEEB

Accessibility & contrast

On white

5.08
#8F4CD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#8F4CD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4CD2
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4CD2#FFFFFF#000000##FFFFFF
##8F4CD21.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DD6
Deuteranopia (green-blind)
#226ECF
Tritanopia (blue-blind)
#826988
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8f4cd2;
/* rgb */ color: rgb(143, 76, 210);
/* oklch */ color: oklch(56.2% 0.199 303.6);
Tailwind
colors: {
  custom: {
    50: '#b482e1',
    500: '#8f4cd2',
    950: '#000000',
  },
}
SCSS
$custom: #8f4cd2;
$custom-light: #b482e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4cd2",
  "rgb": {
    "r": 143,
    "g": 76,
    "b": 210
  },
  "hsl": {
    "h": 270,
    "s": 59.821,
    "l": 56.078
  },
  "oklch": {
    "l": 0.56209,
    "c": 0.1993,
    "h": 303.6
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8F4CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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