#8C3FBF#8C3FBF

#8C3FBF is a mid, vivid violet. Relative luminance 0.129; OKLCH L 52.9% C 0.196 H 308.8°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8C3FBF
RGBrgb(140, 63, 191)
HSLhsl(276, 50%, 50%)
HSVhsv(276, 67%, 75%)
CMYKcmyk(26.7%, 67%, 0%, 25.1%)
CIE-LABlab(42.60, 54.38, -53.89)
CIE-LCHlch(42.60, 76.56, 315.26°)
OKLaboklab(52.9% 0.1225 -0.1524)
OKLCHoklch(52.9% 0.196 308.8)
XYZxyz(21.9948, 12.8924, 50.6099)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3FBF #72BF3F
analogous
#4C3FBF #8C3FBF #BF3FB2
triadic
#8C3FBF #BF8C3F #3FBF8C
tetradic
#8C3FBF #BF4C3F #72BF3F #3FB2BF
square
#8C3FBF #BF4C3F #72BF3F #3FB2BF
split-complementary
#8C3FBF #B2BF3F #3FBF4C
monochromatic
#492163 #6A3091 #8C3FBF #A86DCF #C39BDE

Accessibility & contrast

On white

5.87
#8C3FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8C3FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3FBF
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3FBF#FFFFFF#000000##FFFFFF
##8C3FBF1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C3
Deuteranopia (green-blind)
#2766BC
Tritanopia (blue-blind)
#845A7A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8c3fbf;
/* rgb */ color: rgb(140, 63, 191);
/* oklch */ color: oklch(52.9% 0.196 308.8);
Tailwind
colors: {
  custom: {
    50: '#b279d3',
    500: '#8c3fbf',
    950: '#000000',
  },
}
SCSS
$custom: #8c3fbf;
$custom-light: #b279d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3fbf",
  "rgb": {
    "r": 140,
    "g": 63,
    "b": 191
  },
  "hsl": {
    "h": 276.094,
    "s": 50.394,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52899,
    "c": 0.19557,
    "h": 308.8
  },
  "luminance": 0.12892
}

Semantic roles & 50–950 ramp

primary
#8C3FBF
secondary
#A7CA90
accent
#DA4E86
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8C3FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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