#8840CF#8840CF

#8840CF is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.7% C 0.210 H 302.9°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#8840CF
RGBrgb(136, 64, 207)
HSLhsl(270, 60%, 53%)
HSVhsv(270, 69%, 81%)
CMYKcmyk(34.3%, 69.1%, 0%, 18.8%)
CIE-LABlab(43.37, 56.79, -61.96)
CIE-LCHlch(43.37, 84.04, 312.51°)
OKLaboklab(53.69% 0.1142 -0.1763)
OKLCHoklch(53.69% 0.21 302.9)
XYZxyz(23.2466, 13.4060, 60.3823)
Luminance0.1341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8840CF #87CF40
analogous
#4040CF #8840CF #CF40CE
triadic
#8840CF #CF8840 #40CF88
tetradic
#8840CF #CF4040 #87CF40 #40CECF
square
#8840CF #CF4040 #87CF40 #40CECF
split-complementary
#8840CF #CECF40 #40CF40
monochromatic
#4B1E77 #692AA8 #8840CF #A671DB #C5A2E8

Accessibility & contrast

On white

5.70
#8840CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#8840CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8840CF
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8840CF#FFFFFF#000000##FFFFFF
##8840CF1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D3
Deuteranopia (green-blind)
#0066CC
Tritanopia (blue-blind)
#7A6183
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8840cf;
/* rgb */ color: rgb(136, 64, 207);
/* oklch */ color: oklch(53.7% 0.210 302.9);
Tailwind
colors: {
  custom: {
    50: '#b07adf',
    500: '#8840cf',
    950: '#000000',
  },
}
SCSS
$custom: #8840cf;
$custom-light: #b07adf;
$custom-dark: #000000;
JSON
{
  "hex": "#8840cf",
  "rgb": {
    "r": 136,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 270.21,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.5369,
    "c": 0.21004,
    "h": 302.9
  },
  "luminance": 0.13406
}

Semantic roles & 50–950 ramp

primary
#8840CF
secondary
#B5D497
accent
#E34593
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8840CF

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

Preview Lab → · Contrast checker → · Palette generator →

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