#8F3EC4#8F3EC4

#8F3EC4 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.5% C 0.203 H 308.8°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#8F3EC4
RGBrgb(143, 62, 196)
HSLhsl(276, 53%, 51%)
HSVhsv(276, 68%, 77%)
CMYKcmyk(27%, 68.4%, 0%, 23.1%)
CIE-LABlab(43.17, 56.60, -55.87)
CIE-LCHlch(43.17, 79.53, 315.37°)
OKLaboklab(53.5% 0.127 -0.1581)
OKLCHoklch(53.5% 0.203 308.8)
XYZxyz(23.0121, 13.2708, 53.5631)
Luminance0.1327 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3EC4 #73C43E
analogous
#4C3EC4 #8F3EC4 #C43EB6
triadic
#8F3EC4 #C48F3E #3EC48F
tetradic
#8F3EC4 #C44C3E #73C43E #3EB6C4
square
#8F3EC4 #C44C3E #73C43E #3EB6C4
split-complementary
#8F3EC4 #B6C43E #3EC44C
monochromatic
#4B2068 #6D2E97 #8F3EC4 #AA6DD2 #C59CE1

Accessibility & contrast

On white

5.75
#8F3EC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8F3EC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3EC4
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3EC4#FFFFFF#000000##FFFFFF
##8F3EC41.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C8
Deuteranopia (green-blind)
#2367C1
Tritanopia (blue-blind)
#875B7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f3ec4;
/* rgb */ color: rgb(143, 62, 196);
/* oklch */ color: oklch(53.5% 0.203 308.8);
Tailwind
colors: {
  custom: {
    50: '#b479d7',
    500: '#8f3ec4',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ec4;
$custom-light: #b479d7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ec4",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 196
  },
  "hsl": {
    "h": 276.269,
    "s": 53.175,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53497,
    "c": 0.20285,
    "h": 308.8
  },
  "luminance": 0.1327
}

Semantic roles & 50–950 ramp

primary
#8F3EC4
secondary
#A9CD91
accent
#DD4B85
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3EC4

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

Preview Lab → · Contrast checker → · Palette generator →

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