#8F2EC0#8F2EC0

#8F2EC0 is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.6% C 0.217 H 311.2°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#8F2EC0
RGBrgb(143, 46, 192)
HSLhsl(280, 61%, 47%)
HSVhsv(280, 76%, 75%)
CMYKcmyk(25.5%, 76%, 0%, 24.7%)
CIE-LABlab(40.57, 62.29, -57.73)
CIE-LCHlch(40.57, 84.93, 317.18°)
OKLaboklab(51.57% 0.1433 -0.1635)
OKLCHoklch(51.57% 0.217 311.2)
XYZxyz(21.8173, 11.6000, 50.9487)
Luminance0.1160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EC0 #5FC02E
analogous
#462EC0 #8F2EC0 #C02EA8
triadic
#8F2EC0 #C08F2E #2EC08F
tetradic
#8F2EC0 #C0462E #5FC02E #2EA8C0
square
#8F2EC0 #C0462E #5FC02E #2EA8C0
split-complementary
#8F2EC0 #A8C02E #2EC046
monochromatic
#45165D #6A228F #8F2EC0 #AB55D6 #C386E2

Accessibility & contrast

On white

6.33
#8F2EC0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#8F2EC0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EC0
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EC0#FFFFFF#000000##FFFFFF
##8F2EC01.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC4
Deuteranopia (green-blind)
#0E61BD
Tritanopia (blue-blind)
#895176
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f2ec0;
/* rgb */ color: rgb(143, 46, 192);
/* oklch */ color: oklch(51.6% 0.217 311.2);
Tailwind
colors: {
  custom: {
    50: '#b571d4',
    500: '#8f2ec0',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ec0;
$custom-light: #b571d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ec0",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 192
  },
  "hsl": {
    "h": 279.863,
    "s": 61.345,
    "l": 46.667
  },
  "oklch": {
    "l": 0.51566,
    "c": 0.21743,
    "h": 311.2
  },
  "luminance": 0.11599
}

Semantic roles & 50–950 ramp

primary
#8F2EC0
secondary
#98CC7E
accent
#E44379
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F2EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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