#8440DF#8440DF

#8440DF is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.5% C 0.226 H 297.9°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#8440DF
RGBrgb(132, 64, 223)
HSLhsl(266, 71%, 56%)
HSVhsv(266, 71%, 87%)
CMYKcmyk(40.8%, 71.3%, 0%, 12.5%)
CIE-LABlab(44.09, 59.92, -69.98)
CIE-LCHlch(44.09, 92.13, 310.57°)
OKLaboklab(54.47% 0.1059 -0.2)
OKLCHoklch(54.47% 0.226 297.9)
XYZxyz(24.6650, 13.8996, 71.1811)
Luminance0.1390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8440DF #9BDF40
analogous
#404CDF #8440DF #D340DF
triadic
#8440DF #DF8440 #40DF84
tetradic
#8440DF #DF404C #9BDF40 #40DFD3
square
#8440DF #DF404C #9BDF40 #40DFD3
split-complementary
#8440DF #DFD340 #4CDF40
monochromatic
#4A188D #6520C1 #8440DF #A674E8 #C8A9F1

Accessibility & contrast

On white

5.56
#8440DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8440DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8440DF
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8440DF#FFFFFF#000000##FFFFFF
##8440DF1.005.563.785.56
#FFFFFF5.561.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#0066DC
Tritanopia (blue-blind)
#6D688C
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8440df;
/* rgb */ color: rgb(132, 64, 223);
/* oklch */ color: oklch(54.5% 0.226 297.9);
Tailwind
colors: {
  custom: {
    50: '#af7bea',
    500: '#8440df',
    950: '#000000',
  },
}
SCSS
$custom: #8440df;
$custom-light: #af7bea;
$custom-dark: #000000;
JSON
{
  "hex": "#8440df",
  "rgb": {
    "r": 132,
    "g": 64,
    "b": 223
  },
  "hsl": {
    "h": 265.66,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.54471,
    "c": 0.22632,
    "h": 297.9
  },
  "luminance": 0.139
}

Semantic roles & 50–950 ramp

primary
#8440DF
secondary
#C2DE9D
accent
#EE3AA1
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8440DF

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

Preview Lab → · Contrast checker → · Palette generator →

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