#8F4DE1#8F4DE1

#8F4DE1 is a mid, highly saturated violet. Relative luminance 0.166; OKLCH L 57.4% C 0.214 H 300.1°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8F4DE1
RGBrgb(143, 77, 225)
HSLhsl(267, 71%, 59%)
HSVhsv(267, 66%, 88%)
CMYKcmyk(36.4%, 65.8%, 0%, 11.8%)
CIE-LABlab(47.73, 56.27, -65.14)
CIE-LCHlch(47.73, 86.08, 310.82°)
OKLaboklab(57.4% 0.1077 -0.1855)
OKLCHoklch(57.4% 0.214 300.1)
XYZxyz(27.5688, 16.5834, 72.9680)
Luminance0.1658 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4DE1 #9FE14D
analogous
#4D55E1 #8F4DE1 #D94DE1
triadic
#8F4DE1 #E18F4D #4DE18F
tetradic
#8F4DE1 #E14D55 #9FE14D #4DE1D9
square
#8F4DE1 #E14D55 #9FE14D #4DE1D9
split-complementary
#8F4DE1 #E1D94D #55E14D
monochromatic
#531A9A #6F23CE #8F4DE1 #B081EA #D1B6F3

Accessibility & contrast

On white

4.86
#8F4DE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8F4DE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4DE1
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4DE1#FFFFFF#000000##FFFFFF
##8F4DE11.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0070DE
Tritanopia (blue-blind)
#7D6F91
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f4de1;
/* rgb */ color: rgb(143, 77, 225);
/* oklch */ color: oklch(57.4% 0.214 300.1);
Tailwind
colors: {
  custom: {
    50: '#b583eb',
    500: '#8f4de1',
    950: '#000000',
  },
}
SCSS
$custom: #8f4de1;
$custom-light: #b583eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4de1",
  "rgb": {
    "r": 143,
    "g": 77,
    "b": 225
  },
  "hsl": {
    "h": 266.757,
    "s": 71.154,
    "l": 59.216
  },
  "oklch": {
    "l": 0.574,
    "c": 0.21448,
    "h": 300.1
  },
  "luminance": 0.16584
}

Semantic roles & 50–950 ramp

primary
#8F4DE1
secondary
#C8E2A8
accent
#EE3A9E
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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