#7140BD#7140BD

#7140BD is a mid, vivid violet. Relative luminance 0.109; OKLCH L 49.8% C 0.186 H 297.1°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#7140BD
RGBrgb(113, 64, 189)
HSLhsl(264, 49%, 50%)
HSVhsv(264, 66%, 74%)
CMYKcmyk(40.2%, 66.1%, 0%, 25.9%)
CIE-LABlab(39.33, 47.72, -58.17)
CIE-LCHlch(39.33, 75.24, 309.36°)
OKLaboklab(49.78% 0.085 -0.1659)
OKLCHoklch(49.78% 0.186 297.1)
XYZxyz(17.8264, 10.8513, 49.2896)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140BD #8CBD40
analogous
#404EBD #7140BD #B040BD
triadic
#7140BD #BD7140 #40BD71
tetradic
#7140BD #BD404E #8CBD40 #40BDB0
square
#7140BD #BD404E #8CBD40 #40BDB0
split-complementary
#7140BD #BDB040 #4EBD40
monochromatic
#3A2162 #56318F #7140BD #936DCD #B59ADD

Accessibility & contrast

On white

6.62
#7140BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#7140BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140BD
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140BD#FFFFFF#000000##FFFFFF
##7140BD1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#005BBA
Tritanopia (blue-blind)
#5E5D79
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #7140bd;
/* rgb */ color: rgb(113, 64, 189);
/* oklch */ color: oklch(49.8% 0.186 297.1);
Tailwind
colors: {
  custom: {
    50: '#a078d2',
    500: '#7140bd',
    950: '#000000',
  },
}
SCSS
$custom: #7140bd;
$custom-light: #a078d2;
$custom-dark: #000000;
JSON
{
  "hex": "#7140bd",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 189
  },
  "hsl": {
    "h": 263.52,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.49776,
    "c": 0.18643,
    "h": 297.1
  },
  "luminance": 0.10852
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7140BD

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

Preview Lab → · Contrast checker → · Palette generator →

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