#8F1EC2#8F1EC2

#8F1EC2 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.5% C 0.233 H 311.6°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#8F1EC2
RGBrgb(143, 30, 194)
HSLhsl(281, 73%, 44%)
HSVhsv(281, 85%, 76%)
CMYKcmyk(26.3%, 84.5%, 0%, 23.9%)
CIE-LABlab(39.01, 67.68, -61.44)
CIE-LCHlch(39.01, 91.41, 317.76°)
OKLaboklab(50.52% 0.1548 -0.1743)
OKLCHoklch(50.52% 0.233 311.6)
XYZxyz(21.5277, 10.6638, 51.9528)
Luminance0.1066 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F1EC2 #51C21E
analogous
#3D1EC2 #8F1EC2 #C21EA3
triadic
#8F1EC2 #C28F1E #1EC28F
tetradic
#8F1EC2 #C23D1E #51C21E #1EA3C2
square
#8F1EC2 #C23D1E #51C21E #1EA3C2
split-complementary
#8F1EC2 #A3C21E #1EC23D
monochromatic
#410E58 #68168D #8F1EC2 #AE3CE1 #C471E9

Accessibility & contrast

On white

6.70
#8F1EC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8F1EC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F1EC2
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F1EC2#FFFFFF#000000##FFFFFF
##8F1EC21.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C6
Deuteranopia (green-blind)
#005EBF
Tritanopia (blue-blind)
#884B74
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8f1ec2;
/* rgb */ color: rgb(143, 30, 194);
/* oklch */ color: oklch(50.5% 0.233 311.6);
Tailwind
colors: {
  custom: {
    50: '#b56bd5',
    500: '#8f1ec2',
    950: '#000000',
  },
}
SCSS
$custom: #8f1ec2;
$custom-light: #b56bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8f1ec2",
  "rgb": {
    "r": 143,
    "g": 30,
    "b": 194
  },
  "hsl": {
    "h": 281.341,
    "s": 73.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50518,
    "c": 0.2331,
    "h": 311.6
  },
  "luminance": 0.10663
}

Semantic roles & 50–950 ramp

primary
#8F1EC2
secondary
#8BD06C
accent
#F03871
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #8F1EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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