#7140C3#7140C3

#7140C3 is a mid, vivid violet. Relative luminance 0.111; OKLCH L 50.2% C 0.193 H 295.8°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7140C3
RGBrgb(113, 64, 195)
HSLhsl(262, 52%, 51%)
HSVhsv(262, 67%, 76%)
CMYKcmyk(42.1%, 67.2%, 0%, 23.5%)
CIE-LABlab(39.78, 49.30, -60.95)
CIE-LCHlch(39.78, 78.39, 308.97°)
OKLaboklab(50.24% 0.0842 -0.1741)
OKLCHoklch(50.24% 0.193 295.8)
XYZxyz(18.4912, 11.1172, 52.7908)
Luminance0.1112 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140C3 #92C340
analogous
#4050C3 #7140C3 #B240C3
triadic
#7140C3 #C37140 #40C371
tetradic
#7140C3 #C34050 #92C340 #40C3B2
square
#7140C3 #C34050 #92C340 #40C3B2
split-complementary
#7140C3 #C3B240 #50C340
monochromatic
#3B2168 #562F97 #7140C3 #946FD2 #B69DE0

Accessibility & contrast

On white

6.51
#7140C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#7140C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140C3
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140C3#FFFFFF#000000##FFFFFF
##7140C31.006.513.226.51
#FFFFFF6.511.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#005CC0
Tritanopia (blue-blind)
#5C5F7C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7140c3;
/* rgb */ color: rgb(113, 64, 195);
/* oklch */ color: oklch(50.2% 0.193 295.8);
Tailwind
colors: {
  custom: {
    50: '#a078d6',
    500: '#7140c3',
    950: '#000000',
  },
}
SCSS
$custom: #7140c3;
$custom-light: #a078d6;
$custom-dark: #000000;
JSON
{
  "hex": "#7140c3",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 195
  },
  "hsl": {
    "h": 262.443,
    "s": 52.191,
    "l": 50.784
  },
  "oklch": {
    "l": 0.50239,
    "c": 0.1934,
    "h": 295.8
  },
  "luminance": 0.11118
}

Semantic roles & 50–950 ramp

primary
#7140C3
secondary
#B7CC92
accent
#DC4CA6
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7140C3

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

Preview Lab → · Contrast checker → · Palette generator →

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