#7140C2#7140C2

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

Color values

HEX#7140C2
RGBrgb(113, 64, 194)
HSLhsl(263, 52%, 51%)
HSVhsv(263, 67%, 76%)
CMYKcmyk(41.8%, 67%, 0%, 23.9%)
CIE-LABlab(39.70, 49.04, -60.49)
CIE-LCHlch(39.70, 77.87, 309.03°)
OKLaboklab(50.16% 0.0843 -0.1728)
OKLCHoklch(50.16% 0.192 296)
XYZxyz(18.3785, 11.0722, 52.1973)
Luminance0.1107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140C2 #91C240
analogous
#4050C2 #7140C2 #B240C2
triadic
#7140C2 #C27140 #40C271
tetradic
#7140C2 #C24050 #91C240 #40C2B2
square
#7140C2 #C24050 #91C240 #40C2B2
split-complementary
#7140C2 #C2B240 #50C240
monochromatic
#3B2167 #563095 #7140C2 #936ED1 #B69DE0

Accessibility & contrast

On white

6.53
#7140C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7140C2
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140C2#FFFFFF#000000##FFFFFF
##7140C21.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7140c2;
/* rgb */ color: rgb(113, 64, 194);
/* oklch */ color: oklch(50.2% 0.192 296.0);
Tailwind
colors: {
  custom: {
    50: '#a078d5',
    500: '#7140c2',
    950: '#000000',
  },
}
SCSS
$custom: #7140c2;
$custom-light: #a078d5;
$custom-dark: #000000;
JSON
{
  "hex": "#7140c2",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 194
  },
  "hsl": {
    "h": 262.615,
    "s": 51.587,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50161,
    "c": 0.19224,
    "h": 296
  },
  "luminance": 0.11073
}

Semantic roles & 50–950 ramp

primary
#7140C2
secondary
#B6CC92
accent
#DB4DA5
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7140C2

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

Preview Lab → · Contrast checker → · Palette generator →

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