#8440C5#8440C5

#8440C5 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.199 H 303.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8440C5
RGBrgb(132, 64, 197)
HSLhsl(271, 53%, 51%)
HSVhsv(271, 68%, 77%)
CMYKcmyk(33%, 67.5%, 0%, 22.7%)
CIE-LABlab(42.16, 53.61, -58.15)
CIE-LCHlch(42.16, 79.09, 312.67°)
OKLaboklab(52.49% 0.1101 -0.1652)
OKLCHoklch(52.49% 0.199 303.7)
XYZxyz(21.4248, 12.6036, 54.1165)
Luminance0.1260 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8440C5 #81C540
analogous
#4140C5 #8440C5 #C540C3
triadic
#8440C5 #C58440 #40C584
tetradic
#8440C5 #C54140 #81C540 #40C3C5
square
#8440C5 #C54140 #81C540 #40C3C5
split-complementary
#8440C5 #C3C540 #40C541
monochromatic
#46206A #652F99 #8440C5 #A26FD3 #C09EE2

Accessibility & contrast

On white

5.96
#8440C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8440C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8440C5
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8440C5#FFFFFF#000000##FFFFFF
##8440C51.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C9
Deuteranopia (green-blind)
#0563C2
Tritanopia (blue-blind)
#775E7D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8440c5;
/* rgb */ color: rgb(132, 64, 197);
/* oklch */ color: oklch(52.5% 0.199 303.7);
Tailwind
colors: {
  custom: {
    50: '#ad7ad7',
    500: '#8440c5',
    950: '#000000',
  },
}
SCSS
$custom: #8440c5;
$custom-light: #ad7ad7;
$custom-dark: #000000;
JSON
{
  "hex": "#8440c5",
  "rgb": {
    "r": 132,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 270.677,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.52493,
    "c": 0.19855,
    "h": 303.7
  },
  "luminance": 0.12604
}

Semantic roles & 50–950 ramp

primary
#8440C5
secondary
#B0CE93
accent
#DD4B92
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8440C5

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

Preview Lab → · Contrast checker → · Palette generator →

#8440C5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva