#7140BE#7140BE

#7140BE is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.9% C 0.188 H 296.9°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#7140BE
RGBrgb(113, 64, 190)
HSLhsl(263, 50%, 50%)
HSVhsv(263, 66%, 75%)
CMYKcmyk(40.5%, 66.3%, 0%, 25.5%)
CIE-LABlab(39.40, 47.98, -58.64)
CIE-LCHlch(39.40, 75.77, 309.29°)
OKLaboklab(49.85% 0.0848 -0.1673)
OKLCHoklch(49.85% 0.188 296.9)
XYZxyz(17.9353, 10.8949, 49.8632)
Luminance0.1090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140BE #8DBE40
analogous
#404EBE #7140BE #B040BE
triadic
#7140BE #BE7140 #40BE71
tetradic
#7140BE #BE404E #8DBE40 #40BEB0
square
#7140BE #BE404E #8DBE40 #40BEB0
split-complementary
#7140BE #BEB040 #4EBE40
monochromatic
#3B2162 #563190 #7140BE #936DCE #B59BDD

Accessibility & contrast

On white

6.61
#7140BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#7140BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140BE
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140BE#FFFFFF#000000##FFFFFF
##7140BE1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#005BBB
Tritanopia (blue-blind)
#5E5E79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7140be;
/* rgb */ color: rgb(113, 64, 190);
/* oklch */ color: oklch(49.9% 0.188 296.9);
Tailwind
colors: {
  custom: {
    50: '#a078d2',
    500: '#7140be',
    950: '#000000',
  },
}
SCSS
$custom: #7140be;
$custom-light: #a078d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7140be",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 190
  },
  "hsl": {
    "h": 263.333,
    "s": 49.606,
    "l": 49.804
  },
  "oklch": {
    "l": 0.49853,
    "c": 0.18759,
    "h": 296.9
  },
  "luminance": 0.10895
}

Semantic roles & 50–950 ramp

primary
#7140BE
secondary
#B3C990
accent
#D94FA3
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7140BE

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

Preview Lab → · Contrast checker → · Palette generator →

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