#8F2EC8#8F2EC8

#8F2EC8 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.2% C 0.225 H 309.1°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8F2EC8
RGBrgb(143, 46, 200)
HSLhsl(278, 63%, 48%)
HSVhsv(278, 77%, 78%)
CMYKcmyk(28.5%, 77%, 0%, 21.6%)
CIE-LABlab(41.16, 63.97, -61.45)
CIE-LCHlch(41.16, 88.70, 316.15°)
OKLaboklab(52.16% 0.1417 -0.1744)
OKLCHoklch(52.16% 0.225 309.1)
XYZxyz(22.7279, 11.9642, 55.7444)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EC8 #67C82E
analogous
#422EC8 #8F2EC8 #C82EB4
triadic
#8F2EC8 #C88F2E #2EC88F
tetradic
#8F2EC8 #C8422E #67C82E #2EB4C8
square
#8F2EC8 #C8422E #67C82E #2EB4C8
split-complementary
#8F2EC8 #B4C82E #2EC842
monochromatic
#481764 #6B2396 #8F2EC8 #AA5AD9 #C48CE5

Accessibility & contrast

On white

6.19
#8F2EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#8F2EC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EC8
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EC8#FFFFFF#000000##FFFFFF
##8F2EC81.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DCC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#86547A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f2ec8;
/* rgb */ color: rgb(143, 46, 200);
/* oklch */ color: oklch(52.2% 0.225 309.1);
Tailwind
colors: {
  custom: {
    50: '#b572da',
    500: '#8f2ec8',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ec8;
$custom-light: #b572da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ec8",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 200
  },
  "hsl": {
    "h": 277.792,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.52162,
    "c": 0.22475,
    "h": 309.1
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#8F2EC8
secondary
#9FCF83
accent
#E6427F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120815
muted
#817B83

Preview Lab

Preview with #8F2EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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