#8F4FD6#8F4FD6

#8F4FD6 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.9% C 0.200 H 302.2°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8F4FD6
RGBrgb(143, 79, 214)
HSLhsl(268, 62%, 57%)
HSVhsv(268, 63%, 84%)
CMYKcmyk(33.2%, 63.1%, 0%, 16.1%)
CIE-LABlab(47.35, 52.59, -59.50)
CIE-LCHlch(47.35, 79.41, 311.48°)
OKLaboklab(56.89% 0.1065 -0.1689)
OKLCHoklch(56.89% 0.2 302.2)
XYZxyz(26.2584, 16.2866, 65.3655)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FD6 #96D64F
analogous
#4F53D6 #8F4FD6 #D24FD6
triadic
#8F4FD6 #D68F4F #4FD68F
tetradic
#8F4FD6 #D64F53 #96D64F #4FD6D2
square
#8F4FD6 #D64F53 #96D64F #4FD6D2
split-complementary
#8F4FD6 #D6D24F #53D64F
monochromatic
#53208A #702CBC #8F4FD6 #AF81E2 #CEB2ED

Accessibility & contrast

On white

4.93
#8F4FD6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8F4FD6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FD6
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FD6#FFFFFF#000000##FFFFFF
##8F4FD61.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FDA
Deuteranopia (green-blind)
#2170D3
Tritanopia (blue-blind)
#816C8B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8f4fd6;
/* rgb */ color: rgb(143, 79, 214);
/* oklch */ color: oklch(56.9% 0.200 302.2);
Tailwind
colors: {
  custom: {
    50: '#b484e3',
    500: '#8f4fd6',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fd6;
$custom-light: #b484e3;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fd6",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 214
  },
  "hsl": {
    "h": 268.444,
    "s": 62.212,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.19967,
    "h": 302.2
  },
  "luminance": 0.16287
}

Semantic roles & 50–950 ramp

primary
#8F4FD6
secondary
#C2DCA5
accent
#E54398
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4FD6

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

Preview Lab → · Contrast checker → · Palette generator →

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