#7140C5#7140C5

#7140C5 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.196 H 295.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#7140C5
RGBrgb(113, 64, 197)
HSLhsl(262, 53%, 51%)
HSVhsv(262, 68%, 77%)
CMYKcmyk(42.6%, 67.5%, 0%, 22.7%)
CIE-LABlab(39.93, 49.83, -61.87)
CIE-LCHlch(39.93, 79.44, 308.85°)
OKLaboklab(50.4% 0.0839 -0.1768)
OKLCHoklch(50.4% 0.196 295.4)
XYZxyz(18.7188, 11.2083, 53.9897)
Luminance0.1121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140C5 #94C540
analogous
#4051C5 #7140C5 #B340C5
triadic
#7140C5 #C57140 #40C571
tetradic
#7140C5 #C54051 #94C540 #40C5B3
square
#7140C5 #C54051 #94C540 #40C5B3
split-complementary
#7140C5 #C5B340 #51C540
monochromatic
#3C206A #562F99 #7140C5 #946FD3 #B79EE2

Accessibility & contrast

On white

6.48
#7140C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#7140C5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140C5
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140C5#FFFFFF#000000##FFFFFF
##7140C51.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC9
Deuteranopia (green-blind)
#005CC2
Tritanopia (blue-blind)
#5B607D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7140c5;
/* rgb */ color: rgb(113, 64, 197);
/* oklch */ color: oklch(50.4% 0.196 295.4);
Tailwind
colors: {
  custom: {
    50: '#a078d7',
    500: '#7140c5',
    950: '#000000',
  },
}
SCSS
$custom: #7140c5;
$custom-light: #a078d7;
$custom-dark: #000000;
JSON
{
  "hex": "#7140c5",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 197
  },
  "hsl": {
    "h": 262.105,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.50396,
    "c": 0.19571,
    "h": 295.4
  },
  "luminance": 0.11209
}

Semantic roles & 50–950 ramp

primary
#7140C5
secondary
#B8CE93
accent
#DD4BA7
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0915
muted
#7F7B83

Preview Lab

Preview with #7140C5

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

Preview Lab → · Contrast checker → · Palette generator →

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