#8F4EE2#8F4EE2

#8F4EE2 is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.214 H 299.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#8F4EE2
RGBrgb(143, 78, 226)
HSLhsl(266, 72%, 60%)
HSVhsv(266, 65%, 89%)
CMYKcmyk(36.7%, 65.5%, 0%, 11.4%)
CIE-LABlab(47.98, 56.03, -65.30)
CIE-LCHlch(47.98, 86.04, 310.63°)
OKLaboklab(57.6% 0.1065 -0.1859)
OKLCHoklch(57.6% 0.214 299.8)
XYZxyz(27.7762, 16.7791, 73.7121)
Luminance0.1678 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F4EE2 #A1E24E
analogous
#4E57E2 #8F4EE2 #D94EE2
triadic
#8F4EE2 #E28F4E #4EE28F
tetradic
#8F4EE2 #E24E57 #A1E24E #4EE2D9
square
#8F4EE2 #E24E57 #A1E24E #4EE2D9
split-complementary
#8F4EE2 #E2D94E #57E24E
monochromatic
#531A9C #6F22D1 #8F4EE2 #B083EB #D2B7F3

Accessibility & contrast

On white

4.82
#8F4EE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#8F4EE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F4EE2
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F4EE2#FFFFFF#000000##FFFFFF
##8F4EE21.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#7C7091
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8f4ee2;
/* rgb */ color: rgb(143, 78, 226);
/* oklch */ color: oklch(57.6% 0.214 299.8);
Tailwind
colors: {
  custom: {
    50: '#b583ec',
    500: '#8f4ee2',
    950: '#000000',
  },
}
SCSS
$custom: #8f4ee2;
$custom-light: #b583ec;
$custom-dark: #000000;
JSON
{
  "hex": "#8f4ee2",
  "rgb": {
    "r": 143,
    "g": 78,
    "b": 226
  },
  "hsl": {
    "h": 266.351,
    "s": 71.845,
    "l": 59.608
  },
  "oklch": {
    "l": 0.57602,
    "c": 0.21431,
    "h": 299.8
  },
  "luminance": 0.16779
}

Semantic roles & 50–950 ramp

primary
#8F4EE2
secondary
#C9E3A9
accent
#EF399F
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8F4EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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