#8140CC#8140CC

#8140CC is a mid, highly saturated violet. Relative luminance 0.127; OKLCH L 52.7% C 0.206 H 300.7°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#8140CC
RGBrgb(129, 64, 204)
HSLhsl(268, 58%, 53%)
HSVhsv(268, 69%, 80%)
CMYKcmyk(36.8%, 68.6%, 0%, 20%)
CIE-LABlab(42.30, 54.70, -62.00)
CIE-LCHlch(42.30, 82.68, 311.42°)
OKLaboklab(52.67% 0.1051 -0.1766)
OKLCHoklch(52.67% 0.206 300.7)
XYZxyz(21.7831, 12.6934, 58.4175)
Luminance0.1269 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140CC #8BCC40
analogous
#4045CC #8140CC #C740CC
triadic
#8140CC #CC8140 #40CC81
tetradic
#8140CC #CC4045 #8BCC40 #40CCC7
square
#8140CC #CC4045 #8BCC40 #40CCC7
split-complementary
#8140CC #CCC740 #45CC40
monochromatic
#461F73 #632CA3 #8140CC #A170D9 #C1A1E6

Accessibility & contrast

On white

5.93
#8140CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#8140CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140CC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140CC#FFFFFF#000000##FFFFFF
##8140CC1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#0063C9
Tritanopia (blue-blind)
#716181
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8140cc;
/* rgb */ color: rgb(129, 64, 204);
/* oklch */ color: oklch(52.7% 0.206 300.7);
Tailwind
colors: {
  custom: {
    50: '#ab7adc',
    500: '#8140cc',
    950: '#000000',
  },
}
SCSS
$custom: #8140cc;
$custom-light: #ab7adc;
$custom-dark: #000000;
JSON
{
  "hex": "#8140cc",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 204
  },
  "hsl": {
    "h": 267.857,
    "s": 57.851,
    "l": 52.549
  },
  "oklch": {
    "l": 0.52669,
    "c": 0.20553,
    "h": 300.7
  },
  "luminance": 0.12694
}

Semantic roles & 50–950 ramp

primary
#8140CC
secondary
#B6D295
accent
#E14799
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8140CC

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

Preview Lab → · Contrast checker → · Palette generator →

#8140CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva