#8440C7#8440C7

#8440C7 is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.6% C 0.201 H 303.2°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8440C7
RGBrgb(132, 64, 199)
HSLhsl(270, 55%, 52%)
HSVhsv(270, 68%, 78%)
CMYKcmyk(33.7%, 67.8%, 0%, 22%)
CIE-LABlab(42.30, 54.09, -59.08)
CIE-LCHlch(42.30, 80.10, 312.47°)
OKLaboklab(52.64% 0.1099 -0.168)
OKLCHoklch(52.64% 0.201 303.2)
XYZxyz(21.6555, 12.6959, 55.3314)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8440C7 #83C740
analogous
#4140C7 #8440C7 #C740C7
triadic
#8440C7 #C78440 #40C784
tetradic
#8440C7 #C74140 #83C740 #40C7C7
square
#8440C7 #C74140 #83C740 #40C7C7
split-complementary
#8440C7 #C7C740 #40C741
monochromatic
#47206D #652E9C #8440C7 #A26FD5 #C19FE3

Accessibility & contrast

On white

5.93
#8440C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8440C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8440C7
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8440C7#FFFFFF#000000##FFFFFF
##8440C71.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CB
Deuteranopia (green-blind)
#0064C4
Tritanopia (blue-blind)
#775F7E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8440c7;
/* rgb */ color: rgb(132, 64, 199);
/* oklch */ color: oklch(52.6% 0.201 303.2);
Tailwind
colors: {
  custom: {
    50: '#ad7ad9',
    500: '#8440c7',
    950: '#000000',
  },
}
SCSS
$custom: #8440c7;
$custom-light: #ad7ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#8440c7",
  "rgb": {
    "r": 132,
    "g": 64,
    "b": 199
  },
  "hsl": {
    "h": 270.222,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52639,
    "c": 0.2007,
    "h": 303.2
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#8440C7
secondary
#B1CF94
accent
#DE4A93
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8440C7

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

Preview Lab → · Contrast checker → · Palette generator →

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