#8F3EC6#8F3EC6

#8F3EC6 is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.6% C 0.205 H 308.2°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#8F3EC6
RGBrgb(143, 62, 198)
HSLhsl(276, 54%, 51%)
HSVhsv(276, 69%, 78%)
CMYKcmyk(27.8%, 68.7%, 0%, 22.4%)
CIE-LABlab(43.30, 57.04, -56.81)
CIE-LCHlch(43.30, 80.50, 315.12°)
OKLaboklab(53.64% 0.1268 -0.1609)
OKLCHoklch(53.64% 0.205 308.2)
XYZxyz(23.2413, 13.3625, 54.7700)
Luminance0.1336 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3EC6 #75C63E
analogous
#4B3EC6 #8F3EC6 #C63EB9
triadic
#8F3EC6 #C68F3E #3EC68F
tetradic
#8F3EC6 #C64B3E #75C63E #3EB9C6
square
#8F3EC6 #C64B3E #75C63E #3EB9C6
split-complementary
#8F3EC6 #B9C63E #3EC64B
monochromatic
#4C1F6A #6E2D99 #8F3EC6 #AA6DD4 #C69CE2

Accessibility & contrast

On white

5.72
#8F3EC6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#8F3EC6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3EC6
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3EC6#FFFFFF#000000##FFFFFF
##8F3EC61.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#1F67C3
Tritanopia (blue-blind)
#865C7D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f3ec6;
/* rgb */ color: rgb(143, 62, 198);
/* oklch */ color: oklch(53.6% 0.205 308.2);
Tailwind
colors: {
  custom: {
    50: '#b479d8',
    500: '#8f3ec6',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ec6;
$custom-light: #b479d8;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ec6",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 198
  },
  "hsl": {
    "h": 275.735,
    "s": 54.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.53638,
    "c": 0.20488,
    "h": 308.2
  },
  "luminance": 0.13362
}

Semantic roles & 50–950 ramp

primary
#8F3EC6
secondary
#AACE92
accent
#DE4A86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F3EC6

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

Preview Lab → · Contrast checker → · Palette generator →

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