#8840BE#8840BE

#8840BE is a mid, vivid violet. Relative luminance 0.126; OKLCH L 52.5% C 0.192 H 307.2°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#8840BE
RGBrgb(136, 64, 190)
HSLhsl(274, 50%, 50%)
HSVhsv(274, 66%, 75%)
CMYKcmyk(28.4%, 66.3%, 0%, 25.5%)
CIE-LABlab(42.18, 52.81, -54.00)
CIE-LCHlch(42.18, 75.54, 314.36°)
OKLaboklab(52.47% 0.1162 -0.1529)
OKLCHoklch(52.47% 0.192 307.2)
XYZxyz(21.2791, 12.6190, 50.0199)
Luminance0.1262 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8840BE #76BE40
analogous
#4940BE #8840BE #BE40B5
triadic
#8840BE #BE8840 #40BE88
tetradic
#8840BE #BE4940 #76BE40 #40B5BE
square
#8840BE #BE4940 #76BE40 #40B5BE
split-complementary
#8840BE #B5BE40 #40BE49
monochromatic
#462162 #673190 #8840BE #A56DCE #C19BDD

Accessibility & contrast

On white

5.96
#8840BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #8840BE
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8840BE#FFFFFF#000000##FFFFFF
##8840BE1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#2364BB
Tritanopia (blue-blind)
#7F5B7A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8840be;
/* rgb */ color: rgb(136, 64, 190);
/* oklch */ color: oklch(52.5% 0.192 307.2);
Tailwind
colors: {
  custom: {
    50: '#af7ad2',
    500: '#8840be',
    950: '#000000',
  },
}
SCSS
$custom: #8840be;
$custom-light: #af7ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#8840be",
  "rgb": {
    "r": 136,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 274.286,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.52467,
    "c": 0.19205,
    "h": 307.2
  },
  "luminance": 0.12619
}

Semantic roles & 50–950 ramp

primary
#8840BE
secondary
#A9C990
accent
#D94F8A
background
#FBF7FD
surface
#F6EEFA
border
#D0C9D3
text
#110914
muted
#807B83

Preview Lab

Preview with #8840BE

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

Preview Lab → · Contrast checker → · Palette generator →

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