#8B1FC2#8B1FC2

#8B1FC2 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 50.0% C 0.231 H 310.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#8B1FC2
RGBrgb(139, 31, 194)
HSLhsl(280, 72%, 44%)
HSVhsv(280, 84%, 76%)
CMYKcmyk(28.4%, 84%, 0%, 23.9%)
CIE-LABlab(38.49, 66.80, -62.31)
CIE-LCHlch(38.49, 91.35, 316.99°)
OKLaboklab(50.03% 0.1489 -0.177)
OKLCHoklch(50.03% 0.231 310.1)
XYZxyz(20.8731, 10.3645, 51.9294)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B1FC2 #56C21F
analogous
#3A1FC2 #8B1FC2 #C21FA7
triadic
#8B1FC2 #C28B1F #1FC28B
tetradic
#8B1FC2 #C23A1F #56C21F #1FA7C2
square
#8B1FC2 #C23A1F #56C21F #1FA7C2
split-complementary
#8B1FC2 #A7C21F #1FC23A
monochromatic
#3F0E58 #65178D #8B1FC2 #A93EE0 #C173E9

Accessibility & contrast

On white

6.83
#8B1FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#8B1FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B1FC2
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B1FC2#FFFFFF#000000##FFFFFF
##8B1FC21.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C6
Deuteranopia (green-blind)
#005CBF
Tritanopia (blue-blind)
#834C74
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8b1fc2;
/* rgb */ color: rgb(139, 31, 194);
/* oklch */ color: oklch(50.0% 0.231 310.1);
Tailwind
colors: {
  custom: {
    50: '#b36bd5',
    500: '#8b1fc2',
    950: '#000000',
  },
}
SCSS
$custom: #8b1fc2;
$custom-light: #b36bd5;
$custom-dark: #000000;
JSON
{
  "hex": "#8b1fc2",
  "rgb": {
    "r": 139,
    "g": 31,
    "b": 194
  },
  "hsl": {
    "h": 279.755,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50034,
    "c": 0.23128,
    "h": 310.1
  },
  "luminance": 0.10364
}

Semantic roles & 50–950 ramp

primary
#8B1FC2
secondary
#8ECF6D
accent
#EF3976
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#120814
muted
#817A83

Preview Lab

Preview with #8B1FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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