#8840D9#8840D9

#8840D9 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.4% C 0.221 H 300.7°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#8840D9
RGBrgb(136, 64, 217)
HSLhsl(268, 67%, 55%)
HSVhsv(268, 71%, 85%)
CMYKcmyk(37.3%, 70.5%, 0%, 14.9%)
CIE-LABlab(44.10, 59.17, -66.51)
CIE-LCHlch(44.10, 89.02, 311.66°)
OKLaboklab(54.45% 0.1126 -0.1897)
OKLCHoklch(54.45% 0.221 300.7)
XYZxyz(24.5081, 13.9106, 67.0260)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8840D9 #91D940
analogous
#4045D9 #8840D9 #D440D9
triadic
#8840D9 #D98840 #40D988
tetradic
#8840D9 #D94045 #91D940 #40D9D4
square
#8840D9 #D94045 #91D940 #40D9D4
split-complementary
#8840D9 #D9D440 #45D940
monochromatic
#4C1A84 #6A24B7 #8840D9 #A873E3 #C8A6ED

Accessibility & contrast

On white

5.55
#8840D9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#8840D9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8840D9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8840D9#FFFFFF#000000##FFFFFF
##8840D91.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DD
Deuteranopia (green-blind)
#0067D6
Tritanopia (blue-blind)
#766588
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #8840d9;
/* rgb */ color: rgb(136, 64, 217);
/* oklch */ color: oklch(54.4% 0.221 300.7);
Tailwind
colors: {
  custom: {
    50: '#b17be6',
    500: '#8840d9',
    950: '#000000',
  },
}
SCSS
$custom: #8840d9;
$custom-light: #b17be6;
$custom-dark: #000000;
JSON
{
  "hex": "#8840d9",
  "rgb": {
    "r": 136,
    "g": 64,
    "b": 217
  },
  "hsl": {
    "h": 268.235,
    "s": 66.812,
    "l": 55.098
  },
  "oklch": {
    "l": 0.54445,
    "c": 0.22055,
    "h": 300.7
  },
  "luminance": 0.13911
}

Semantic roles & 50–950 ramp

primary
#8840D9
secondary
#BCDA9A
accent
#EA3E99
background
#FBF7FE
surface
#F6EEFC
border
#D0C9D5
text
#110A16
muted
#807C84

Preview Lab

Preview with #8840D9

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

Preview Lab → · Contrast checker → · Palette generator →

#8840D9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva