#8F3ECA#8F3ECA

#8F3ECA is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 53.9% C 0.209 H 307.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#8F3ECA
RGBrgb(143, 62, 202)
HSLhsl(275, 57%, 52%)
HSVhsv(275, 69%, 79%)
CMYKcmyk(29.2%, 69.3%, 0%, 20.8%)
CIE-LABlab(43.58, 57.94, -58.68)
CIE-LCHlch(43.58, 82.46, 314.63°)
OKLaboklab(53.92% 0.1263 -0.1664)
OKLCHoklch(53.92% 0.209 307.2)
XYZxyz(23.7087, 13.5495, 57.2320)
Luminance0.1355 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F3ECA #79CA3E
analogous
#493ECA #8F3ECA #CA3EBF
triadic
#8F3ECA #CA8F3E #3ECA8F
tetradic
#8F3ECA #CA493E #79CA3E #3EBFCA
square
#8F3ECA #CA493E #79CA3E #3EBFCA
split-complementary
#8F3ECA #BFCA3E #3ECA49
monochromatic
#4D1F6F #6E2C9F #8F3ECA #AB6ED7 #C79EE4

Accessibility & contrast

On white

5.66
#8F3ECA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#8F3ECA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F3ECA
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F3ECA#FFFFFF#000000##FFFFFF
##8F3ECA1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#1568C7
Tritanopia (blue-blind)
#855D80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f3eca;
/* rgb */ color: rgb(143, 62, 202);
/* oklch */ color: oklch(53.9% 0.209 307.2);
Tailwind
colors: {
  custom: {
    50: '#b47adb',
    500: '#8f3eca',
    950: '#000000',
  },
}
SCSS
$custom: #8f3eca;
$custom-light: #b47adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8f3eca",
  "rgb": {
    "r": 143,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 274.714,
    "s": 56.911,
    "l": 51.765
  },
  "oklch": {
    "l": 0.53921,
    "c": 0.20893,
    "h": 307.2
  },
  "luminance": 0.13549
}

Semantic roles & 50–950 ramp

primary
#8F3ECA
secondary
#ADD193
accent
#E04888
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #8F3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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