#7140C7#7140C7

#7140C7 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.198 H 295.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7140C7
RGBrgb(113, 64, 199)
HSLhsl(262, 55%, 52%)
HSVhsv(262, 68%, 78%)
CMYKcmyk(43.2%, 67.8%, 0%, 22%)
CIE-LABlab(40.08, 50.36, -62.78)
CIE-LCHlch(40.08, 80.49, 308.73°)
OKLaboklab(50.55% 0.0836 -0.1795)
OKLCHoklch(50.55% 0.198 295)
XYZxyz(18.9495, 11.3006, 55.2046)
Luminance0.1130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140C7 #96C740
analogous
#4053C7 #7140C7 #B540C7
triadic
#7140C7 #C77140 #40C771
tetradic
#7140C7 #C74053 #96C740 #40C7B5
square
#7140C7 #C74053 #96C740 #40C7B5
split-complementary
#7140C7 #C7B540 #53C740
monochromatic
#3C206D #562E9C #7140C7 #946FD5 #B79FE3

Accessibility & contrast

On white

6.44
#7140C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#7140C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140C7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140C7#FFFFFF#000000##FFFFFF
##7140C71.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CB
Deuteranopia (green-blind)
#005CC4
Tritanopia (blue-blind)
#5A617E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #7140c7;
/* rgb */ color: rgb(113, 64, 199);
/* oklch */ color: oklch(50.6% 0.198 295.0);
Tailwind
colors: {
  custom: {
    50: '#a178d9',
    500: '#7140c7',
    950: '#000000',
  },
}
SCSS
$custom: #7140c7;
$custom-light: #a178d9;
$custom-dark: #000000;
JSON
{
  "hex": "#7140c7",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 199
  },
  "hsl": {
    "h": 261.778,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.50553,
    "c": 0.19802,
    "h": 295
  },
  "luminance": 0.11301
}

Semantic roles & 50–950 ramp

primary
#7140C7
secondary
#BACF94
accent
#DE4AA8
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7140C7

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

Preview Lab → · Contrast checker → · Palette generator →

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