#7140C0#7140C0

#7140C0 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.0% C 0.190 H 296.4°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7140C0
RGBrgb(113, 64, 192)
HSLhsl(263, 50%, 50%)
HSVhsv(263, 67%, 75%)
CMYKcmyk(41.1%, 66.7%, 0%, 24.7%)
CIE-LABlab(39.55, 48.51, -59.57)
CIE-LCHlch(39.55, 76.82, 309.16°)
OKLaboklab(50.01% 0.0846 -0.17)
OKLCHoklch(50.01% 0.19 296.4)
XYZxyz(18.1554, 10.9829, 51.0223)
Luminance0.1098 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140C0 #8FC040
analogous
#404FC0 #7140C0 #B140C0
triadic
#7140C0 #C07140 #40C071
tetradic
#7140C0 #C0404F #8FC040 #40C0B1
square
#7140C0 #C0404F #8FC040 #40C0B1
split-complementary
#7140C0 #C0B140 #4FC040
monochromatic
#3B2164 #563092 #7140C0 #936ECF #B59CDE

Accessibility & contrast

On white

6.57
#7140C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#7140C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140C0
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140C0#FFFFFF#000000##FFFFFF
##7140C01.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC4
Deuteranopia (green-blind)
#005BBD
Tritanopia (blue-blind)
#5D5E7B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7140c0;
/* rgb */ color: rgb(113, 64, 192);
/* oklch */ color: oklch(50.0% 0.190 296.4);
Tailwind
colors: {
  custom: {
    50: '#a078d4',
    500: '#7140c0',
    950: '#000000',
  },
}
SCSS
$custom: #7140c0;
$custom-light: #a078d4;
$custom-dark: #000000;
JSON
{
  "hex": "#7140c0",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 192
  },
  "hsl": {
    "h": 262.969,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.50007,
    "c": 0.18992,
    "h": 296.4
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#7140C0
secondary
#B5CB91
accent
#DA4EA4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7140C0

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

Preview Lab → · Contrast checker → · Palette generator →

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