#8840BD#8840BD

#8840BD is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.4% C 0.191 H 307.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#8840BD
RGBrgb(136, 64, 189)
HSLhsl(275, 49%, 50%)
HSVhsv(275, 66%, 74%)
CMYKcmyk(28%, 66.1%, 0%, 25.9%)
CIE-LABlab(42.12, 52.58, -53.53)
CIE-LCHlch(42.12, 75.04, 314.49°)
OKLaboklab(52.4% 0.1163 -0.1515)
OKLCHoklch(52.4% 0.191 307.5)
XYZxyz(21.1701, 12.5754, 49.4463)
Luminance0.1258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8840BD #75BD40
analogous
#4A40BD #8840BD #BD40B4
triadic
#8840BD #BD8840 #40BD88
tetradic
#8840BD #BD4A40 #75BD40 #40B4BD
square
#8840BD #BD4A40 #75BD40 #40B4BD
split-complementary
#8840BD #B4BD40 #40BD4A
monochromatic
#462162 #67318F #8840BD #A46DCD #C19ADD

Accessibility & contrast

On white

5.97
#8840BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#8840BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8840BD
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8840BD#FFFFFF#000000##FFFFFF
##8840BD1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C1
Deuteranopia (green-blind)
#2564BA
Tritanopia (blue-blind)
#805B79
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8840bd;
/* rgb */ color: rgb(136, 64, 189);
/* oklch */ color: oklch(52.4% 0.191 307.5);
Tailwind
colors: {
  custom: {
    50: '#af7ad2',
    500: '#8840bd',
    950: '#000000',
  },
}
SCSS
$custom: #8840bd;
$custom-light: #af7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8840bd",
  "rgb": {
    "r": 136,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 274.56,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.52397,
    "c": 0.19099,
    "h": 307.5
  },
  "luminance": 0.12575
}

Semantic roles & 50–950 ramp

primary
#8840BD
secondary
#A8C990
accent
#D94F89
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8840BD

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

Preview Lab → · Contrast checker → · Palette generator →

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