#8F4FDA#8F4FDA

#8F4FDA is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.2% C 0.204 H 301.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8F4FDA
RGBrgb(143, 79, 218)
HSLhsl(268, 65%, 58%)
HSVhsv(268, 64%, 85%)
CMYKcmyk(34.4%, 63.8%, 0%, 14.5%)
CIE-LABlab(47.62, 53.57, -61.35)
CIE-LCHlch(47.62, 81.44, 311.13°)
OKLaboklab(57.17% 0.1062 -0.1743)
OKLCHoklch(57.17% 0.204 301.4)
XYZxyz(26.7755, 16.4934, 68.0890)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4FDA #9ADA4F
analogous
#4F54DA #8F4FDA #D44FDA
triadic
#8F4FDA #DA8F4F #4FDA8F
tetradic
#8F4FDA #DA4F54 #9ADA4F #4FDAD4
square
#8F4FDA #DA4F54 #9ADA4F #4FDAD4
split-complementary
#8F4FDA #DAD44F #54DA4F
monochromatic
#531E90 #7029C3 #8F4FDA #AF82E5 #CFB4EF

Accessibility & contrast

On white

4.89
#8F4FDA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8F4FDA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4FDA
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4FDA#FFFFFF#000000##FFFFFF
##8F4FDA1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DE
Deuteranopia (green-blind)
#1770D7
Tritanopia (blue-blind)
#7F6E8D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f4fda;
/* rgb */ color: rgb(143, 79, 218);
/* oklch */ color: oklch(57.2% 0.204 301.4);
Tailwind
colors: {
  custom: {
    50: '#b584e6',
    500: '#8f4fda',
    950: '#000000',
  },
}
SCSS
$custom: #8f4fda;
$custom-light: #b584e6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4fda",
  "rgb": {
    "r": 143,
    "g": 79,
    "b": 218
  },
  "hsl": {
    "h": 267.626,
    "s": 65.258,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57165,
    "c": 0.20413,
    "h": 301.4
  },
  "luminance": 0.16494
}

Semantic roles & 50–950 ramp

primary
#8F4FDA
secondary
#C5DEA7
accent
#E8409B
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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