#8F3EBC#8F3EBC

#8F3EBC is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.9% C 0.195 H 311.0°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8F3EBC
RGBrgb(143, 62, 188)
HSLhsl(279, 50%, 49%)
HSVhsv(279, 67%, 74%)
CMYKcmyk(23.9%, 67%, 0%, 26.3%)
CIE-LABlab(42.64, 54.83, -52.06)
CIE-LCHlch(42.64, 75.61, 316.49°)
OKLaboklab(52.95% 0.1278 -0.147)
OKLCHoklch(52.95% 0.195 311)
XYZxyz(22.1257, 12.9162, 48.8947)
Luminance0.1292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3EBC #6BBC3E
analogous
#503EBC #8F3EBC #BC3EAA
triadic
#8F3EBC #BC8F3E #3EBC8F
tetradic
#8F3EBC #BC503E #6BBC3E #3EAABC
square
#8F3EBC #BC503E #6BBC3E #3EAABC
split-complementary
#8F3EBC #AABC3E #3EBC50
monochromatic
#492060 #6C2F8E #8F3EBC #AA6ACE #C498DD

Accessibility & contrast

On white

5.86
#8F3EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8F3EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3EBC
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3EBC#FFFFFF#000000##FFFFFF
##8F3EBC1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#2E66B9
Tritanopia (blue-blind)
#895878
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8f3ebc;
/* rgb */ color: rgb(143, 62, 188);
/* oklch */ color: oklch(52.9% 0.195 311.0);
Tailwind
colors: {
  custom: {
    50: '#b479d1',
    500: '#8f3ebc',
    950: '#000000',
  },
}
SCSS
$custom: #8f3ebc;
$custom-light: #b479d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3ebc",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 188
  },
  "hsl": {
    "h": 278.571,
    "s": 50.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.52947,
    "c": 0.19476,
    "h": 311
  },
  "luminance": 0.12916
}

Semantic roles & 50–950 ramp

primary
#8F3EBC
secondary
#A2C98D
accent
#DA4E80
background
#FBF7FC
surface
#F6EEF9
border
#D0C9D2
text
#110914
muted
#807B82

Preview Lab

Preview with #8F3EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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