#8840CA#8840CA

#8840CA is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.3% C 0.205 H 304.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#8840CA
RGBrgb(136, 64, 202)
HSLhsl(271, 57%, 52%)
HSVhsv(271, 68%, 79%)
CMYKcmyk(32.7%, 68.3%, 0%, 20.8%)
CIE-LABlab(43.01, 55.61, -59.65)
CIE-LCHlch(43.01, 81.55, 312.99°)
OKLaboklab(53.32% 0.1149 -0.1695)
OKLCHoklch(53.32% 0.205 304.1)
XYZxyz(22.6450, 13.1654, 57.2138)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8840CA #82CA40
analogous
#4340CA #8840CA #CA40C7
triadic
#8840CA #CA8840 #40CA88
tetradic
#8840CA #CA4340 #82CA40 #40C7CA
square
#8840CA #CA4340 #82CA40 #40C7CA
split-complementary
#8840CA #C7CA40 #40CA43
monochromatic
#4A1F70 #692CA0 #8840CA #A670D7 #C4A0E5

Accessibility & contrast

On white

5.78
#8840CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#8840CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8840CA
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8840CA#FFFFFF#000000##FFFFFF
##8840CA1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064CE
Deuteranopia (green-blind)
#0065C7
Tritanopia (blue-blind)
#7B5F80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #8840ca;
/* rgb */ color: rgb(136, 64, 202);
/* oklch */ color: oklch(53.3% 0.205 304.1);
Tailwind
colors: {
  custom: {
    50: '#b07adb',
    500: '#8840ca',
    950: '#000000',
  },
}
SCSS
$custom: #8840ca;
$custom-light: #b07adb;
$custom-dark: #000000;
JSON
{
  "hex": "#8840ca",
  "rgb": {
    "r": 136,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 271.304,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.53322,
    "c": 0.20476,
    "h": 304.1
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#8840CA
secondary
#B2D195
accent
#E04891
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110A15
muted
#807C83

Preview Lab

Preview with #8840CA

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

Preview Lab → · Contrast checker → · Palette generator →

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