#8F2EC9#8F2EC9

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

Color values

HEX#8F2EC9
RGBrgb(143, 46, 201)
HSLhsl(278, 63%, 48%)
HSVhsv(278, 77%, 79%)
CMYKcmyk(28.9%, 77.1%, 0%, 21.2%)
CIE-LABlab(41.23, 64.18, -61.91)
CIE-LCHlch(41.23, 89.17, 316.03°)
OKLaboklab(52.24% 0.1415 -0.1758)
OKLCHoklch(52.24% 0.226 308.8)
XYZxyz(22.8451, 12.0111, 56.3619)
Luminance0.1201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EC9 #68C92E
analogous
#412EC9 #8F2EC9 #C92EB5
triadic
#8F2EC9 #C98F2E #2EC98F
tetradic
#8F2EC9 #C9412E #68C92E #2EB5C9
square
#8F2EC9 #C9412E #68C92E #2EB5C9
split-complementary
#8F2EC9 #B5C92E #2EC941
monochromatic
#481765 #6C2397 #8F2EC9 #AA5BD9 #C48DE5

Accessibility & contrast

On white

6.17
#8F2EC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#8F2EC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EC9
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EC9#FFFFFF#000000##FFFFFF
##8F2EC91.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECD
Deuteranopia (green-blind)
#0062C6
Tritanopia (blue-blind)
#86557B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8f2ec9;
/* rgb */ color: rgb(143, 46, 201);
/* oklch */ color: oklch(52.2% 0.226 308.8);
Tailwind
colors: {
  custom: {
    50: '#b572da',
    500: '#8f2ec9',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ec9;
$custom-light: #b572da;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ec9",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 201
  },
  "hsl": {
    "h": 277.548,
    "s": 62.753,
    "l": 48.431
  },
  "oklch": {
    "l": 0.52238,
    "c": 0.22567,
    "h": 308.8
  },
  "luminance": 0.12011
}

Semantic roles & 50–950 ramp

primary
#8F2EC9
secondary
#A0CF84
accent
#E6427F
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#120915
muted
#817B83

Preview Lab

Preview with #8F2EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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