#8C3EE3#8C3EE3

#8C3EE3 is a mid, highly saturated violet. Relative luminance 0.146; OKLCH L 55.4% C 0.234 H 300.3°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#8C3EE3
RGBrgb(140, 62, 227)
HSLhsl(268, 75%, 57%)
HSVhsv(268, 73%, 89%)
CMYKcmyk(38.3%, 72.7%, 0%, 11%)
CIE-LABlab(45.03, 63.15, -70.67)
CIE-LCHlch(45.03, 94.77, 311.78°)
OKLaboklab(55.45% 0.118 -0.2018)
OKLCHoklch(55.45% 0.234 300.3)
XYZxyz(26.3995, 14.5665, 74.0789)
Luminance0.1457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C3EE3 #95E33E
analogous
#3E43E3 #8C3EE3 #DF3EE3
triadic
#8C3EE3 #E38C3E #3EE38C
tetradic
#8C3EE3 #E33E43 #95E33E #3EE3DF
square
#8C3EE3 #E33E43 #95E33E #3EE3DF
split-complementary
#8C3EE3 #E3DF3E #43E33E
monochromatic
#501591 #6D1DC7 #8C3EE3 #AC73EB #CCA9F3

Accessibility & contrast

On white

5.37
#8C3EE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#8C3EE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C3EE3
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C3EE3#FFFFFF#000000##FFFFFF
##8C3EE31.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AE8
Deuteranopia (green-blind)
#0069E0
Tritanopia (blue-blind)
#78688D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #8c3ee3;
/* rgb */ color: rgb(140, 62, 227);
/* oklch */ color: oklch(55.4% 0.234 300.3);
Tailwind
colors: {
  custom: {
    50: '#b47aed',
    500: '#8c3ee3',
    950: '#000000',
  },
}
SCSS
$custom: #8c3ee3;
$custom-light: #b47aed;
$custom-dark: #000000;
JSON
{
  "hex": "#8c3ee3",
  "rgb": {
    "r": 140,
    "g": 62,
    "b": 227
  },
  "hsl": {
    "h": 268.364,
    "s": 74.661,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55447,
    "c": 0.23373,
    "h": 300.3
  },
  "luminance": 0.14567
}

Semantic roles & 50–950 ramp

primary
#8C3EE3
secondary
#C0E09D
accent
#F13799
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8C3EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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