#7140BF#7140BF

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

Color values

HEX#7140BF
RGBrgb(113, 64, 191)
HSLhsl(263, 50%, 50%)
HSVhsv(263, 66%, 75%)
CMYKcmyk(40.8%, 66.5%, 0%, 25.1%)
CIE-LABlab(39.48, 48.25, -59.10)
CIE-LCHlch(39.48, 76.29, 309.23°)
OKLaboklab(49.93% 0.0847 -0.1687)
OKLCHoklch(49.93% 0.189 296.7)
XYZxyz(18.0450, 10.9387, 50.4408)
Luminance0.1094 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140BF #8EBF40
analogous
#404EBF #7140BF #B140BF
triadic
#7140BF #BF7140 #40BF71
tetradic
#7140BF #BF404E #8EBF40 #40BFB1
square
#7140BF #BF404E #8EBF40 #40BFB1
split-complementary
#7140BF #BFB140 #4EBF40
monochromatic
#3B2163 #563191 #7140BF #936ECE #B59CDE

Accessibility & contrast

On white

6.59
#7140BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#7140BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140BF
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140BF#FFFFFF#000000##FFFFFF
##7140BF1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#005BBC
Tritanopia (blue-blind)
#5D5E7A
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7140bf;
/* rgb */ color: rgb(113, 64, 191);
/* oklch */ color: oklch(49.9% 0.189 296.7);
Tailwind
colors: {
  custom: {
    50: '#a078d3',
    500: '#7140bf',
    950: '#000000',
  },
}
SCSS
$custom: #7140bf;
$custom-light: #a078d3;
$custom-dark: #000000;
JSON
{
  "hex": "#7140bf",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 191
  },
  "hsl": {
    "h": 263.15,
    "s": 49.804,
    "l": 50
  },
  "oklch": {
    "l": 0.4993,
    "c": 0.18876,
    "h": 296.7
  },
  "luminance": 0.10939
}

Semantic roles & 50–950 ramp

primary
#7140BF
secondary
#B4CA91
accent
#D94EA4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0914
muted
#7F7B83

Preview Lab

Preview with #7140BF

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

Preview Lab → · Contrast checker → · Palette generator →

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