#8F4EDC#8F4EDC

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

Color values

HEX#8F4EDC
RGBrgb(143, 78, 220)
HSLhsl(267, 67%, 58%)
HSVhsv(267, 65%, 86%)
CMYKcmyk(35%, 64.5%, 0%, 13.7%)
CIE-LABlab(47.57, 54.56, -62.56)
CIE-LCHlch(47.57, 83.01, 311.09°)
OKLaboklab(57.17% 0.1072 -0.1779)
OKLCHoklch(57.17% 0.208 301.1)
XYZxyz(26.9672, 16.4556, 69.4518)
Luminance0.1646 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EDC #9BDC4E
analogous
#4E54DC #8F4EDC #D64EDC
triadic
#8F4EDC #DC8F4E #4EDC8F
tetradic
#8F4EDC #DC4E54 #9BDC4E #4EDCD6
square
#8F4EDC #DC4E54 #9BDC4E #4EDCD6
split-complementary
#8F4EDC #DCD64E #54DC4E
monochromatic
#531D93 #7027C6 #8F4EDC #AF81E6 #D0B4F0

Accessibility & contrast

On white

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

On black

4.29
#8F4EDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##8F4EDC#FFFFFF#000000##FFFFFF
##8F4EDC1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E0
Deuteranopia (green-blind)
#0B70D9
Tritanopia (blue-blind)
#7F6E8E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8f4edc;
/* rgb */ color: rgb(143, 78, 220);
/* oklch */ color: oklch(57.2% 0.208 301.1);
Tailwind
colors: {
  custom: {
    50: '#b583e8',
    500: '#8f4edc',
    950: '#000000',
  },
}
SCSS
$custom: #8f4edc;
$custom-light: #b583e8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4edc",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 220
  },
  "hsl": {
    "h": 267.465,
    "s": 66.981,
    "l": 58.431
  },
  "oklch": {
    "l": 0.57173,
    "c": 0.20768,
    "h": 301.1
  },
  "luminance": 0.16456
}

Semantic roles & 50–950 ramp

primary
#8F4EDC
secondary
#C5DFA7
accent
#EA3E9B
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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