#8440AF#8440AF

#8440AF is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.0% C 0.175 H 309.8°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8440AF
RGBrgb(132, 64, 175)
HSLhsl(277, 46%, 47%)
HSVhsv(277, 63%, 69%)
CMYKcmyk(24.6%, 63.4%, 0%, 31.4%)
CIE-LABlab(40.68, 48.47, -47.62)
CIE-LCHlch(40.68, 67.95, 315.50°)
OKLaboklab(50.96% 0.1119 -0.1343)
OKLCHoklch(50.96% 0.175 309.8)
XYZxyz(19.0855, 11.6678, 41.7958)
Luminance0.1167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8440AF #6BAF40
analogous
#4D40AF #8440AF #AF40A3
triadic
#8440AF #AF8440 #40AF84
tetradic
#8440AF #AF4D40 #6BAF40 #40A3AF
square
#8440AF #AF4D40 #6BAF40 #40A3AF
split-complementary
#8440AF #A3AF40 #40AF4D
monochromatic
#401F55 #623082 #8440AF #A165C7 #BC92D7

Accessibility & contrast

On white

6.30
#8440AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#8440AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8440AF
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8440AF#FFFFFF#000000##FFFFFF
##8440AF1.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#045DB2
Deuteranopia (green-blind)
#3161AC
Tritanopia (blue-blind)
#7E5672
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #8440af;
/* rgb */ color: rgb(132, 64, 175);
/* oklch */ color: oklch(51.0% 0.175 309.8);
Tailwind
colors: {
  custom: {
    50: '#ab79c7',
    500: '#8440af',
    950: '#000000',
  },
}
SCSS
$custom: #8440af;
$custom-light: #ab79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#8440af",
  "rgb": {
    "r": 132,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 276.757,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5096,
    "c": 0.1748,
    "h": 309.8
  },
  "luminance": 0.11667
}

Semantic roles & 50–950 ramp

primary
#8440AF
secondary
#9FC388
accent
#D65285
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#100913
muted
#7F7B82

Preview Lab

Preview with #8440AF

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

Preview Lab → · Contrast checker → · Palette generator →

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