#8440DB#8440DB

#8440DB is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.2% C 0.222 H 298.7°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8440DB
RGBrgb(132, 64, 219)
HSLhsl(266, 68%, 55%)
HSVhsv(266, 71%, 86%)
CMYKcmyk(39.7%, 70.8%, 0%, 14.1%)
CIE-LABlab(43.78, 58.94, -68.20)
CIE-LCHlch(43.78, 90.14, 310.83°)
OKLaboklab(54.16% 0.1067 -0.1948)
OKLCHoklch(54.16% 0.222 298.7)
XYZxyz(24.1320, 13.6865, 68.3744)
Luminance0.1369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8440DB #97DB40
analogous
#4049DB #8440DB #D240DB
triadic
#8440DB #DB8440 #40DB84
tetradic
#8440DB #DB4049 #97DB40 #40DBD2
square
#8440DB #DB4049 #97DB40 #40DBD2
split-complementary
#8440DB #DBD240 #49DB40
monochromatic
#4A1987 #6623BB #8440DB #A573E5 #C6A7EE

Accessibility & contrast

On white

5.62
#8440DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#8440DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8440DB
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8440DB#FFFFFF#000000##FFFFFF
##8440DB1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067E0
Deuteranopia (green-blind)
#0066D8
Tritanopia (blue-blind)
#6F6689
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8440db;
/* rgb */ color: rgb(132, 64, 219);
/* oklch */ color: oklch(54.2% 0.222 298.7);
Tailwind
colors: {
  custom: {
    50: '#af7ae7',
    500: '#8440db',
    950: '#000000',
  },
}
SCSS
$custom: #8440db;
$custom-light: #af7ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#8440db",
  "rgb": {
    "r": 132,
    "g": 64,
    "b": 219
  },
  "hsl": {
    "h": 266.323,
    "s": 68.282,
    "l": 55.49
  },
  "oklch": {
    "l": 0.54156,
    "c": 0.22208,
    "h": 298.7
  },
  "luminance": 0.13687
}

Semantic roles & 50–950 ramp

primary
#8440DB
secondary
#BFDC9B
accent
#EB3D9F
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8440DB

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

Preview Lab → · Contrast checker → · Palette generator →

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