#8440C0#8440C0

#8440C0 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 52.1% C 0.193 H 305.0°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#8440C0
RGBrgb(132, 64, 192)
HSLhsl(272, 50%, 50%)
HSVhsv(272, 67%, 75%)
CMYKcmyk(31.2%, 66.7%, 0%, 24.7%)
CIE-LABlab(41.81, 52.42, -55.80)
CIE-LCHlch(41.81, 76.56, 313.21°)
OKLaboklab(52.13% 0.1107 -0.1583)
OKLCHoklch(52.13% 0.193 305)
XYZxyz(20.8614, 12.3782, 51.1492)
Luminance0.1238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8440C0 #7CC040
analogous
#4440C0 #8440C0 #C040BC
triadic
#8440C0 #C08440 #40C084
tetradic
#8440C0 #C04440 #7CC040 #40BCC0
square
#8440C0 #C04440 #7CC040 #40BCC0
split-complementary
#8440C0 #BCC040 #40C044
monochromatic
#452164 #643092 #8440C0 #A26ECF #BF9CDE

Accessibility & contrast

On white

6.04
#8440C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#8440C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8440C0
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8440C0#FFFFFF#000000##FFFFFF
##8440C01.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C4
Deuteranopia (green-blind)
#1763BD
Tritanopia (blue-blind)
#795C7B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8440c0;
/* rgb */ color: rgb(132, 64, 192);
/* oklch */ color: oklch(52.1% 0.193 305.0);
Tailwind
colors: {
  custom: {
    50: '#ac79d4',
    500: '#8440c0',
    950: '#000000',
  },
}
SCSS
$custom: #8440c0;
$custom-light: #ac79d4;
$custom-dark: #000000;
JSON
{
  "hex": "#8440c0",
  "rgb": {
    "r": 132,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 271.875,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.52132,
    "c": 0.19316,
    "h": 305
  },
  "luminance": 0.12378
}

Semantic roles & 50–950 ramp

primary
#8440C0
secondary
#ACCB91
accent
#DA4E90
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8440C0

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

Preview Lab → · Contrast checker → · Palette generator →

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