#8440D1#8440D1

#8440D1 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.4% C 0.211 H 300.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8440D1
RGBrgb(132, 64, 209)
HSLhsl(268, 61%, 54%)
HSVhsv(268, 69%, 82%)
CMYKcmyk(36.8%, 69.4%, 0%, 18%)
CIE-LABlab(43.03, 56.50, -63.69)
CIE-LCHlch(43.03, 85.13, 311.58°)
OKLaboklab(53.39% 0.1084 -0.1815)
OKLCHoklch(53.39% 0.211 300.8)
XYZxyz(22.8549, 13.1756, 61.6483)
Luminance0.1318 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8440D1 #8DD140
analogous
#4044D1 #8440D1 #CC40D1
triadic
#8440D1 #D18440 #40D184
tetradic
#8440D1 #D14044 #8DD140 #40D1CC
square
#8440D1 #D14044 #8DD140 #40D1CC
split-complementary
#8440D1 #D1CC40 #44D140
monochromatic
#481D79 #6629AB #8440D1 #A471DD #C4A3E9

Accessibility & contrast

On white

5.78
#8440D1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#8440D1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8440D1
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8440D1#FFFFFF#000000##FFFFFF
##8440D11.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D5
Deuteranopia (green-blind)
#0065CE
Tritanopia (blue-blind)
#736384
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8440d1;
/* rgb */ color: rgb(132, 64, 209);
/* oklch */ color: oklch(53.4% 0.211 300.8);
Tailwind
colors: {
  custom: {
    50: '#ae7ae0',
    500: '#8440d1',
    950: '#000000',
  },
}
SCSS
$custom: #8440d1;
$custom-light: #ae7ae0;
$custom-dark: #000000;
JSON
{
  "hex": "#8440d1",
  "rgb": {
    "r": 132,
    "g": 64,
    "b": 209
  },
  "hsl": {
    "h": 268.138,
    "s": 61.181,
    "l": 53.529
  },
  "oklch": {
    "l": 0.53385,
    "c": 0.21142,
    "h": 300.8
  },
  "luminance": 0.13176
}

Semantic roles & 50–950 ramp

primary
#8440D1
secondary
#B8D597
accent
#E44499
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8440D1

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

Preview Lab → · Contrast checker → · Palette generator →

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