#8F3EC3#8F3EC3

#8F3EC3 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.202 H 309.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8F3EC3
RGBrgb(143, 62, 195)
HSLhsl(277, 53%, 50%)
HSVhsv(277, 68%, 76%)
CMYKcmyk(26.7%, 68.2%, 0%, 23.5%)
CIE-LABlab(43.10, 56.37, -55.39)
CIE-LCHlch(43.10, 79.04, 315.50°)
OKLaboklab(53.43% 0.1272 -0.1567)
OKLCHoklch(53.43% 0.202 309)
XYZxyz(22.8987, 13.2254, 52.9656)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3EC3 #72C33E
analogous
#4C3EC3 #8F3EC3 #C33EB5
triadic
#8F3EC3 #C38F3E #3EC38F
tetradic
#8F3EC3 #C34C3E #72C33E #3EB5C3
square
#8F3EC3 #C34C3E #72C33E #3EB5C3
split-complementary
#8F3EC3 #B5C33E #3EC34C
monochromatic
#4B2067 #6D2E95 #8F3EC3 #AA6DD2 #C59BE0

Accessibility & contrast

On white

5.76
#8F3EC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8F3EC3
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3EC3#FFFFFF#000000##FFFFFF
##8F3EC31.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063C7
Deuteranopia (green-blind)
#2467C0
Tritanopia (blue-blind)
#875B7C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8f3ec3;
/* rgb */ color: rgb(143, 62, 195);
/* oklch */ color: oklch(53.4% 0.202 309.0);
Tailwind
colors: {
  custom: {
    50: '#b479d6',
    500: '#8f3ec3',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ec3;
$custom-light: #b479d6;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ec3",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 195
  },
  "hsl": {
    "h": 276.541,
    "s": 52.569,
    "l": 50.392
  },
  "oklch": {
    "l": 0.53427,
    "c": 0.20184,
    "h": 309
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#8F3EC3
secondary
#A8CC91
accent
#DC4C84
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #8F3EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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