#7140B7#7140B7

#7140B7 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.3% C 0.179 H 298.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7140B7
RGBrgb(113, 64, 183)
HSLhsl(265, 48%, 48%)
HSVhsv(265, 65%, 72%)
CMYKcmyk(38.3%, 65%, 0%, 28.2%)
CIE-LABlab(38.89, 46.15, -55.35)
CIE-LCHlch(38.89, 72.07, 309.82°)
OKLaboklab(49.32% 0.0856 -0.1577)
OKLCHoklch(49.32% 0.179 298.5)
XYZxyz(17.1885, 10.5962, 45.9302)
Luminance0.1060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140B7 #86B740
analogous
#404AB7 #7140B7 #AC40B7
triadic
#7140B7 #B77140 #40B771
tetradic
#7140B7 #B7404A #86B740 #40B7AC
square
#7140B7 #B7404A #86B740 #40B7AC
split-complementary
#7140B7 #B7AC40 #4AB740
monochromatic
#39205C #55308A #7140B7 #9269CB #B397DB

Accessibility & contrast

On white

6.73
#7140B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#7140B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140B7
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140B7#FFFFFF#000000##FFFFFF
##7140B71.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#005AB4
Tritanopia (blue-blind)
#615B76
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7140b7;
/* rgb */ color: rgb(113, 64, 183);
/* oklch */ color: oklch(49.3% 0.179 298.5);
Tailwind
colors: {
  custom: {
    50: '#9f78cd',
    500: '#7140b7',
    950: '#000000',
  },
}
SCSS
$custom: #7140b7;
$custom-light: #9f78cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7140b7",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 183
  },
  "hsl": {
    "h": 264.706,
    "s": 48.178,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49323,
    "c": 0.1794,
    "h": 298.5
  },
  "luminance": 0.10596
}

Semantic roles & 50–950 ramp

primary
#7140B7
secondary
#AEC68D
accent
#D850A0
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7140B7

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

Preview Lab → · Contrast checker → · Palette generator →

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