#8140CF#8140CF

#8140CF is a mid, highly saturated violet. Relative luminance 0.128; OKLCH L 52.9% C 0.209 H 300.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#8140CF
RGBrgb(129, 64, 207)
HSLhsl(267, 60%, 53%)
HSVhsv(267, 69%, 81%)
CMYKcmyk(37.7%, 69.1%, 0%, 18.8%)
CIE-LABlab(42.52, 55.44, -63.37)
CIE-LCHlch(42.52, 84.20, 311.18°)
OKLaboklab(52.9% 0.1046 -0.1807)
OKLCHoklch(52.9% 0.209 300.1)
XYZxyz(22.1464, 12.8387, 60.3307)
Luminance0.1284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8140CF #8ECF40
analogous
#4046CF #8140CF #C940CF
triadic
#8140CF #CF8140 #40CF81
tetradic
#8140CF #CF4046 #8ECF40 #40CFC9
square
#8140CF #CF4046 #8ECF40 #40CFC9
split-complementary
#8140CF #CFC940 #46CF40
monochromatic
#461E77 #632AA8 #8140CF #A171DB #C2A2E8

Accessibility & contrast

On white

5.89
#8140CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#8140CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8140CF
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8140CF#FFFFFF#000000##FFFFFF
##8140CF1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D3
Deuteranopia (green-blind)
#0063CC
Tritanopia (blue-blind)
#6F6283
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #8140cf;
/* rgb */ color: rgb(129, 64, 207);
/* oklch */ color: oklch(52.9% 0.209 300.1);
Tailwind
colors: {
  custom: {
    50: '#ac7adf',
    500: '#8140cf',
    950: '#000000',
  },
}
SCSS
$custom: #8140cf;
$custom-light: #ac7adf;
$custom-dark: #000000;
JSON
{
  "hex": "#8140cf",
  "rgb": {
    "r": 129,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 267.273,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52897,
    "c": 0.20878,
    "h": 300.1
  },
  "luminance": 0.12839
}

Semantic roles & 50–950 ramp

primary
#8140CF
secondary
#B8D497
accent
#E3459B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8140CF

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

Preview Lab → · Contrast checker → · Palette generator →

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