#8840DD#8840DD

#8840DD is a mid, highly saturated violet. Relative luminance 0.141; OKLCH L 54.8% C 0.225 H 299.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#8840DD
RGBrgb(136, 64, 221)
HSLhsl(268, 70%, 56%)
HSVhsv(268, 71%, 87%)
CMYKcmyk(38.5%, 71%, 0%, 13.3%)
CIE-LABlab(44.41, 60.14, -68.30)
CIE-LCHlch(44.41, 91.00, 311.36°)
OKLaboklab(54.75% 0.1118 -0.1949)
OKLCHoklch(54.75% 0.225 299.8)
XYZxyz(25.0346, 14.1212, 69.7993)
Luminance0.1412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8840DD #95DD40
analogous
#4046DD #8840DD #D740DD
triadic
#8840DD #DD8840 #40DD88
tetradic
#8840DD #DD4046 #95DD40 #40DDD7
square
#8840DD #DD4046 #95DD40 #40DDD7
split-complementary
#8840DD #DDD740 #46DD40
monochromatic
#4D198A #6922BE #8840DD #A874E6 #C9A8EF

Accessibility & contrast

On white

5.49
#8840DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#8840DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8840DD
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8840DD#FFFFFF#000000##FFFFFF
##8840DD1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E2
Deuteranopia (green-blind)
#0068DA
Tritanopia (blue-blind)
#74678B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #8840dd;
/* rgb */ color: rgb(136, 64, 221);
/* oklch */ color: oklch(54.8% 0.225 299.8);
Tailwind
colors: {
  custom: {
    50: '#b17be9',
    500: '#8840dd',
    950: '#000000',
  },
}
SCSS
$custom: #8840dd;
$custom-light: #b17be9;
$custom-dark: #000000;
JSON
{
  "hex": "#8840dd",
  "rgb": {
    "r": 136,
    "g": 64,
    "b": 221
  },
  "hsl": {
    "h": 267.516,
    "s": 69.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.54753,
    "c": 0.22474,
    "h": 299.8
  },
  "luminance": 0.14121
}

Semantic roles & 50–950 ramp

primary
#8840DD
secondary
#BFDD9C
accent
#ED3B9B
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #8840DD

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

Preview Lab → · Contrast checker → · Palette generator →

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