#8F3EC0#8F3EC0

#8F3EC0 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 53.2% C 0.199 H 309.9°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#8F3EC0
RGBrgb(143, 62, 192)
HSLhsl(277, 51%, 50%)
HSVhsv(277, 68%, 75%)
CMYKcmyk(25.5%, 67.7%, 0%, 24.7%)
CIE-LABlab(42.90, 55.71, -53.97)
CIE-LCHlch(42.90, 77.57, 315.91°)
OKLaboklab(53.22% 0.1275 -0.1526)
OKLCHoklch(53.22% 0.199 309.9)
XYZxyz(22.5629, 13.0911, 51.1972)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3EC0 #6FC03E
analogous
#4E3EC0 #8F3EC0 #C03EB0
triadic
#8F3EC0 #C08F3E #3EC08F
tetradic
#8F3EC0 #C04E3E #6FC03E #3EB0C0
square
#8F3EC0 #C04E3E #6FC03E #3EB0C0
split-complementary
#8F3EC0 #B0C03E #3EC04E
monochromatic
#4A2063 #6D2F92 #8F3EC0 #AA6CCF #C59ADE

Accessibility & contrast

On white

5.80
#8F3EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#8F3EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3EC0
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3EC0#FFFFFF#000000##FFFFFF
##8F3EC01.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C4
Deuteranopia (green-blind)
#2967BD
Tritanopia (blue-blind)
#885A7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3ec0;
/* rgb */ color: rgb(143, 62, 192);
/* oklch */ color: oklch(53.2% 0.199 309.9);
Tailwind
colors: {
  custom: {
    50: '#b479d4',
    500: '#8f3ec0',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ec0;
$custom-light: #b479d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ec0",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 192
  },
  "hsl": {
    "h": 277.385,
    "s": 51.181,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5322,
    "c": 0.1988,
    "h": 309.9
  },
  "luminance": 0.13091
}

Semantic roles & 50–950 ramp

primary
#8F3EC0
secondary
#A6CA8F
accent
#DB4D82
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8F3EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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