#8C3FE0#8C3FE0

#8C3FE0 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.3% C 0.230 H 300.8°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#8C3FE0
RGBrgb(140, 63, 224)
HSLhsl(269, 72%, 56%)
HSVhsv(269, 72%, 88%)
CMYKcmyk(37.5%, 71.9%, 0%, 12.2%)
CIE-LABlab(44.96, 62.01, -69.09)
CIE-LCHlch(44.96, 92.83, 311.91°)
OKLaboklab(55.32% 0.1177 -0.1971)
OKLCHoklch(55.32% 0.23 300.8)
XYZxyz(26.0440, 14.5121, 71.9356)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3FE0 #93E03F
analogous
#3F43E0 #8C3FE0 #DD3FE0
triadic
#8C3FE0 #E08C3F #3FE08C
tetradic
#8C3FE0 #E03F43 #93E03F #3FE0DD
square
#8C3FE0 #E03F43 #93E03F #3FE0DD
split-complementary
#8C3FE0 #E0DD3F #43E03F
monochromatic
#50178E #6D1FC2 #8C3FE0 #AC74E9 #CBA8F1

Accessibility & contrast

On white

5.38
#8C3FE0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8C3FE0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3FE0
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3FE0#FFFFFF#000000##FFFFFF
##8C3FE01.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE5
Deuteranopia (green-blind)
#0069DD
Tritanopia (blue-blind)
#79678C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8c3fe0;
/* rgb */ color: rgb(140, 63, 224);
/* oklch */ color: oklch(55.3% 0.230 300.8);
Tailwind
colors: {
  custom: {
    50: '#b47beb',
    500: '#8c3fe0',
    950: '#000000',
  },
}
SCSS
$custom: #8c3fe0;
$custom-light: #b47beb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3fe0",
  "rgb": {
    "r": 140,
    "g": 63,
    "b": 224
  },
  "hsl": {
    "h": 268.696,
    "s": 72.197,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55322,
    "c": 0.22957,
    "h": 300.8
  },
  "luminance": 0.14512
}

Semantic roles & 50–950 ramp

primary
#8C3FE0
secondary
#BFDF9C
accent
#EF3998
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C3FE0

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

Preview Lab → · Contrast checker → · Palette generator →

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