#8F2EC1#8F2EC1

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

Color values

HEX#8F2EC1
RGBrgb(143, 46, 193)
HSLhsl(280, 62%, 47%)
HSVhsv(280, 76%, 76%)
CMYKcmyk(25.9%, 76.2%, 0%, 24.3%)
CIE-LABlab(40.65, 62.50, -58.20)
CIE-LCHlch(40.65, 85.40, 317.04°)
OKLaboklab(51.64% 0.1431 -0.1649)
OKLCHoklch(51.64% 0.218 311)
XYZxyz(21.9285, 11.6444, 51.5342)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2EC1 #60C12E
analogous
#462EC1 #8F2EC1 #C12EAA
triadic
#8F2EC1 #C18F2E #2EC18F
tetradic
#8F2EC1 #C1462E #60C12E #2EAAC1
square
#8F2EC1 #C1462E #60C12E #2EAAC1
split-complementary
#8F2EC1 #AAC12E #2EC146
monochromatic
#46165E #6A2290 #8F2EC1 #AB56D7 #C387E2

Accessibility & contrast

On white

6.31
#8F2EC1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8F2EC1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2EC1
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2EC1#FFFFFF#000000##FFFFFF
##8F2EC11.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CC5
Deuteranopia (green-blind)
#0961BE
Tritanopia (blue-blind)
#885176
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8f2ec1;
/* rgb */ color: rgb(143, 46, 193);
/* oklch */ color: oklch(51.6% 0.218 311.0);
Tailwind
colors: {
  custom: {
    50: '#b571d5',
    500: '#8f2ec1',
    950: '#000000',
  },
}
SCSS
$custom: #8f2ec1;
$custom-light: #b571d5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2ec1",
  "rgb": {
    "r": 143,
    "g": 46,
    "b": 193
  },
  "hsl": {
    "h": 279.592,
    "s": 61.506,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5164,
    "c": 0.21833,
    "h": 311
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#8F2EC1
secondary
#99CC7F
accent
#E5437A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #8F2EC1

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

Preview Lab → · Contrast checker → · Palette generator →

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