#8440D2#8440D2

#8440D2 is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.5% C 0.212 H 300.6°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#8440D2
RGBrgb(132, 64, 210)
HSLhsl(268, 62%, 54%)
HSVhsv(268, 70%, 82%)
CMYKcmyk(37.1%, 69.5%, 0%, 17.6%)
CIE-LABlab(43.10, 56.74, -64.14)
CIE-LCHlch(43.10, 85.64, 311.50°)
OKLaboklab(53.46% 0.1083 -0.1829)
OKLCHoklch(53.46% 0.212 300.6)
XYZxyz(22.9791, 13.2253, 62.3024)
Luminance0.1323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8440D2 #8ED240
analogous
#4045D2 #8440D2 #CD40D2
triadic
#8440D2 #D28440 #40D284
tetradic
#8440D2 #D24045 #8ED240 #40D2CD
square
#8440D2 #D24045 #8ED240 #40D2CD
split-complementary
#8440D2 #D2CD40 #45D240
monochromatic
#491D7B #6629AC #8440D2 #A472DE #C4A3E9

Accessibility & contrast

On white

5.76
#8440D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#8440D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8440D2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8440D2#FFFFFF#000000##FFFFFF
##8440D21.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8440d2;
/* rgb */ color: rgb(132, 64, 210);
/* oklch */ color: oklch(53.5% 0.212 300.6);
Tailwind
colors: {
  custom: {
    50: '#ae7ae1',
    500: '#8440d2',
    950: '#000000',
  },
}
SCSS
$custom: #8440d2;
$custom-light: #ae7ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#8440d2",
  "rgb": {
    "r": 132,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 267.945,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.53461,
    "c": 0.21249,
    "h": 300.6
  },
  "luminance": 0.13225
}

Semantic roles & 50–950 ramp

primary
#8440D2
secondary
#B9D698
accent
#E54399
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8440D2

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

Preview Lab → · Contrast checker → · Palette generator →

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