#8C4BE1#8C4BE1

#8C4BE1 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.8% C 0.217 H 299.2°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#8C4BE1
RGBrgb(140, 75, 225)
HSLhsl(266, 71%, 59%)
HSVhsv(266, 67%, 88%)
CMYKcmyk(37.8%, 66.7%, 0%, 11.8%)
CIE-LABlab(47.03, 56.67, -66.29)
CIE-LCHlch(47.03, 87.21, 310.52°)
OKLaboklab(56.82% 0.1058 -0.1889)
OKLCHoklch(56.82% 0.217 299.2)
XYZxyz(26.9185, 16.0435, 72.8981)
Luminance0.1604 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C4BE1 #A0E14B
analogous
#4B55E1 #8C4BE1 #D74BE1
triadic
#8C4BE1 #E18C4B #4BE18C
tetradic
#8C4BE1 #E14B55 #A0E14B #4BE1D7
square
#8C4BE1 #E14B55 #A0E14B #4BE1D7
split-complementary
#8C4BE1 #E1D74B #55E14B
monochromatic
#501998 #6C22CD #8C4BE1 #AE7FEA #CFB4F2

Accessibility & contrast

On white

4.99
#8C4BE1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#8C4BE1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8C4BE1
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C4BE1#FFFFFF#000000##FFFFFF
##8C4BE11.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE6
Deuteranopia (green-blind)
#006EDE
Tritanopia (blue-blind)
#786E90
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8c4be1;
/* rgb */ color: rgb(140, 75, 225);
/* oklch */ color: oklch(56.8% 0.217 299.2);
Tailwind
colors: {
  custom: {
    50: '#b481eb',
    500: '#8c4be1',
    950: '#000000',
  },
}
SCSS
$custom: #8c4be1;
$custom-light: #b481eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8c4be1",
  "rgb": {
    "r": 140,
    "g": 75,
    "b": 225
  },
  "hsl": {
    "h": 266,
    "s": 71.429,
    "l": 58.824
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.21654,
    "h": 299.2
  },
  "luminance": 0.16044
}

Semantic roles & 50–950 ramp

primary
#8C4BE1
secondary
#C8E1A6
accent
#EE3AA0
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #8C4BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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