#8C3FD8#8C3FD8

#8C3FD8 is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.7% C 0.221 H 302.6°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#8C3FD8
RGBrgb(140, 63, 216)
HSLhsl(270, 66%, 55%)
HSVhsv(270, 71%, 85%)
CMYKcmyk(35.2%, 70.8%, 0%, 15.3%)
CIE-LABlab(44.36, 60.12, -65.50)
CIE-LCHlch(44.36, 88.91, 312.55°)
OKLaboklab(54.71% 0.1192 -0.1865)
OKLCHoklch(54.71% 0.221 302.6)
XYZxyz(24.9845, 14.0883, 66.3555)
Luminance0.1409 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3FD8 #8BD83F
analogous
#403FD8 #8C3FD8 #D83FD8
triadic
#8C3FD8 #D88C3F #3FD88C
tetradic
#8C3FD8 #D8403F #8BD83F #3FD8D8
square
#8C3FD8 #D8403F #8BD83F #3FD8D8
split-complementary
#8C3FD8 #D8D83F #3FD840
monochromatic
#4F1A82 #6D25B5 #8C3FD8 #AA72E2 #C9A5ED

Accessibility & contrast

On white

5.50
#8C3FD8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8C3FD8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3FD8
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3FD8#FFFFFF#000000##FFFFFF
##8C3FD81.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0068D5
Tritanopia (blue-blind)
#7C6488
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8c3fd8;
/* rgb */ color: rgb(140, 63, 216);
/* oklch */ color: oklch(54.7% 0.221 302.6);
Tailwind
colors: {
  custom: {
    50: '#b37ae5',
    500: '#8c3fd8',
    950: '#000000',
  },
}
SCSS
$custom: #8c3fd8;
$custom-light: #b37ae5;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3fd8",
  "rgb": {
    "r": 140,
    "g": 63,
    "b": 216
  },
  "hsl": {
    "h": 270.196,
    "s": 66.234,
    "l": 54.706
  },
  "oklch": {
    "l": 0.5471,
    "c": 0.22136,
    "h": 302.6
  },
  "luminance": 0.14088
}

Semantic roles & 50–950 ramp

primary
#8C3FD8
secondary
#B9DA99
accent
#E93F93
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C3FD8

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

Preview Lab → · Contrast checker → · Palette generator →

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