#7140C1#7140C1

#7140C1 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.1% C 0.191 H 296.2°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#7140C1
RGBrgb(113, 64, 193)
HSLhsl(263, 51%, 50%)
HSVhsv(263, 67%, 76%)
CMYKcmyk(41.5%, 66.8%, 0%, 24.3%)
CIE-LABlab(39.63, 48.77, -60.03)
CIE-LCHlch(39.63, 77.34, 309.09°)
OKLaboklab(50.08% 0.0845 -0.1714)
OKLCHoklch(50.08% 0.191 296.2)
XYZxyz(18.2666, 11.0274, 51.6078)
Luminance0.1103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140C1 #90C140
analogous
#404FC1 #7140C1 #B240C1
triadic
#7140C1 #C17140 #40C171
tetradic
#7140C1 #C1404F #90C140 #40C1B2
square
#7140C1 #C1404F #90C140 #40C1B2
split-complementary
#7140C1 #C1B240 #4FC140
monochromatic
#3B2166 #563094 #7140C1 #936ED0 #B69CDF

Accessibility & contrast

On white

6.55
#7140C1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#7140C1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140C1
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140C1#FFFFFF#000000##FFFFFF
##7140C11.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC5
Deuteranopia (green-blind)
#005CBE
Tritanopia (blue-blind)
#5C5F7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7140c1;
/* rgb */ color: rgb(113, 64, 193);
/* oklch */ color: oklch(50.1% 0.191 296.2);
Tailwind
colors: {
  custom: {
    50: '#a078d5',
    500: '#7140c1',
    950: '#000000',
  },
}
SCSS
$custom: #7140c1;
$custom-light: #a078d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7140c1",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 193
  },
  "hsl": {
    "h": 262.791,
    "s": 50.988,
    "l": 50.392
  },
  "oklch": {
    "l": 0.50084,
    "c": 0.19108,
    "h": 296.2
  },
  "luminance": 0.11028
}

Semantic roles & 50–950 ramp

primary
#7140C1
secondary
#B5CB92
accent
#DA4DA5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7140C1

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

Preview Lab → · Contrast checker → · Palette generator →

#7140C1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva