#8C3FDE#8C3FDE

#8C3FDE is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.2% C 0.228 H 301.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#8C3FDE
RGBrgb(140, 63, 222)
HSLhsl(269, 71%, 56%)
HSVhsv(269, 72%, 87%)
CMYKcmyk(36.9%, 71.6%, 0%, 12.9%)
CIE-LABlab(44.81, 61.53, -68.20)
CIE-LCHlch(44.81, 91.85, 312.06°)
OKLaboklab(55.17% 0.1181 -0.1945)
OKLCHoklch(55.17% 0.228 301.3)
XYZxyz(25.7743, 14.4042, 70.5155)
Luminance0.1440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3FDE #91DE3F
analogous
#3F41DE #8C3FDE #DC3FDE
triadic
#8C3FDE #DE8C3F #3FDE8C
tetradic
#8C3FDE #DE3F41 #91DE3F #3FDEDC
square
#8C3FDE #DE3F41 #91DE3F #3FDEDC
split-complementary
#8C3FDE #DEDC3F #41DE3F
monochromatic
#4F188B #6D21BF #8C3FDE #AB73E7 #CBA7F0

Accessibility & contrast

On white

5.41
#8C3FDE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#8C3FDE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3FDE
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3FDE#FFFFFF#000000##FFFFFF
##8C3FDE1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E3
Deuteranopia (green-blind)
#0069DB
Tritanopia (blue-blind)
#7A668B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8c3fde;
/* rgb */ color: rgb(140, 63, 222);
/* oklch */ color: oklch(55.2% 0.228 301.3);
Tailwind
colors: {
  custom: {
    50: '#b47be9',
    500: '#8c3fde',
    950: '#000000',
  },
}
SCSS
$custom: #8c3fde;
$custom-light: #b47be9;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3fde",
  "rgb": {
    "r": 140,
    "g": 63,
    "b": 222
  },
  "hsl": {
    "h": 269.057,
    "s": 70.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55167,
    "c": 0.22753,
    "h": 301.3
  },
  "luminance": 0.14404
}

Semantic roles & 50–950 ramp

primary
#8C3FDE
secondary
#BDDD9B
accent
#ED3A97
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C3FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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