#8440CB#8440CB

#8440CB is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 52.9% C 0.205 H 302.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#8440CB
RGBrgb(132, 64, 203)
HSLhsl(269, 57%, 52%)
HSVhsv(269, 68%, 80%)
CMYKcmyk(35%, 68.5%, 0%, 20.4%)
CIE-LABlab(42.59, 55.05, -60.93)
CIE-LCHlch(42.59, 82.12, 312.09°)
OKLaboklab(52.93% 0.1093 -0.1734)
OKLCHoklch(52.93% 0.205 302.2)
XYZxyz(22.1261, 12.8841, 57.8095)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8440CB #87CB40
analogous
#4041CB #8440CB #CA40CB
triadic
#8440CB #CB8440 #40CB84
tetradic
#8440CB #CB4041 #87CB40 #40CBCA
square
#8440CB #CB4041 #87CB40 #40CBCA
split-complementary
#8440CB #CBCA40 #41CB40
monochromatic
#471F72 #662CA2 #8440CB #A370D8 #C2A0E5

Accessibility & contrast

On white

5.87
#8440CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#8440CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8440CB
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8440CB#FFFFFF#000000##FFFFFF
##8440CB1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#0064C8
Tritanopia (blue-blind)
#756081
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #8440cb;
/* rgb */ color: rgb(132, 64, 203);
/* oklch */ color: oklch(52.9% 0.205 302.2);
Tailwind
colors: {
  custom: {
    50: '#ad7adc',
    500: '#8440cb',
    950: '#000000',
  },
}
SCSS
$custom: #8440cb;
$custom-light: #ad7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8440cb",
  "rgb": {
    "r": 132,
    "g": 64,
    "b": 203
  },
  "hsl": {
    "h": 269.353,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.52934,
    "c": 0.205,
    "h": 302.2
  },
  "luminance": 0.12884
}

Semantic roles & 50–950 ramp

primary
#8440CB
secondary
#B4D295
accent
#E04796
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8440CB

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

Preview Lab → · Contrast checker → · Palette generator →

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