#8C4FE3#8C4FE3

#8C4FE3 is a mid, highly saturated violet. Relative luminance 0.167; OKLCH L 57.5% C 0.214 H 298.3°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#8C4FE3
RGBrgb(140, 79, 227)
HSLhsl(265, 73%, 60%)
HSVhsv(265, 65%, 89%)
CMYKcmyk(38.3%, 65.2%, 0%, 11%)
CIE-LABlab(47.90, 55.18, -66.02)
CIE-LCHlch(47.90, 86.04, 309.89°)
OKLaboklab(57.49% 0.1014 -0.1882)
OKLCHoklch(57.49% 0.214 298.3)
XYZxyz(27.4728, 16.7131, 74.4367)
Luminance0.1671 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4FE3 #A6E34F
analogous
#4F5CE3 #8C4FE3 #D64FE3
triadic
#8C4FE3 #E38C4F #4FE38C
tetradic
#8C4FE3 #E34F5C #A6E34F #4FE3D6
square
#8C4FE3 #E34F5C #A6E34F #4FE3D6
split-complementary
#8C4FE3 #E3D64F #5CE34F
monochromatic
#50199E #6B22D3 #8C4FE3 #AF84EB #D1B9F4

Accessibility & contrast

On white

4.84
#8C4FE3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.34
#8C4FE3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4FE3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4FE3#FFFFFF#000000##FFFFFF
##8C4FE31.004.844.344.84
#FFFFFF4.841.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E8
Deuteranopia (green-blind)
#0070E0
Tritanopia (blue-blind)
#777192
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8c4fe3;
/* rgb */ color: rgb(140, 79, 227);
/* oklch */ color: oklch(57.5% 0.214 298.3);
Tailwind
colors: {
  custom: {
    50: '#b484ed',
    500: '#8c4fe3',
    950: '#000000',
  },
}
SCSS
$custom: #8c4fe3;
$custom-light: #b484ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4fe3",
  "rgb": {
    "r": 140,
    "g": 79,
    "b": 227
  },
  "hsl": {
    "h": 264.73,
    "s": 72.549,
    "l": 60
  },
  "oklch": {
    "l": 0.57487,
    "c": 0.21373,
    "h": 298.3
  },
  "luminance": 0.16713
}

Semantic roles & 50–950 ramp

primary
#8C4FE3
secondary
#CCE3AA
accent
#EF39A4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8C4FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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