#8140C8#8140C8

#8140C8 is a mid, highly saturated violet. Relative luminance 0.125; OKLCH L 52.4% C 0.201 H 301.7°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8140C8
RGBrgb(129, 64, 200)
HSLhsl(269, 55%, 52%)
HSVhsv(269, 68%, 78%)
CMYKcmyk(35.5%, 68%, 0%, 21.6%)
CIE-LABlab(42.01, 53.72, -60.16)
CIE-LCHlch(42.01, 80.65, 311.77°)
OKLaboklab(52.37% 0.1056 -0.1712)
OKLCHoklch(52.37% 0.201 301.7)
XYZxyz(21.3095, 12.5040, 55.9232)
Luminance0.1250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140C8 #87C840
analogous
#4043C8 #8140C8 #C540C8
triadic
#8140C8 #C88140 #40C881
tetradic
#8140C8 #C84043 #87C840 #40C8C5
square
#8140C8 #C84043 #87C840 #40C8C5
split-complementary
#8140C8 #C8C540 #43C840
monochromatic
#45206E #632D9D #8140C8 #A070D6 #C09FE3

Accessibility & contrast

On white

6.00
#8140C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#8140C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140C8
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140C8#FFFFFF#000000##FFFFFF
##8140C81.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#0062C5
Tritanopia (blue-blind)
#72607F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #8140c8;
/* rgb */ color: rgb(129, 64, 200);
/* oklch */ color: oklch(52.4% 0.201 301.7);
Tailwind
colors: {
  custom: {
    50: '#ab79da',
    500: '#8140c8',
    950: '#000000',
  },
}
SCSS
$custom: #8140c8;
$custom-light: #ab79da;
$custom-dark: #000000;
JSON
{
  "hex": "#8140c8",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 268.676,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52369,
    "c": 0.20119,
    "h": 301.7
  },
  "luminance": 0.12504
}

Semantic roles & 50–950 ramp

primary
#8140C8
secondary
#B3D094
accent
#DF4997
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8140C8

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

Preview Lab → · Contrast checker → · Palette generator →

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