#7140BA#7140BA

#7140BA is a mid, vivid violet. Relative luminance 0.107; OKLCH L 49.5% C 0.183 H 297.8°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#7140BA
RGBrgb(113, 64, 186)
HSLhsl(264, 49%, 49%)
HSVhsv(264, 66%, 73%)
CMYKcmyk(39.2%, 65.6%, 0%, 27.1%)
CIE-LABlab(39.11, 46.93, -56.77)
CIE-LCHlch(39.11, 73.66, 309.58°)
OKLaboklab(49.55% 0.0853 -0.1618)
OKLCHoklch(49.55% 0.183 297.8)
XYZxyz(17.5041, 10.7224, 47.5923)
Luminance0.1072 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140BA #89BA40
analogous
#404CBA #7140BA #AE40BA
triadic
#7140BA #BA7140 #40BA71
tetradic
#7140BA #BA404C #89BA40 #40BAAE
square
#7140BA #BA404C #89BA40 #40BAAE
split-complementary
#7140BA #BAAE40 #4CBA40
monochromatic
#3A215F #55308C #7140BA #926BCC #B499DC

Accessibility & contrast

On white

6.68
#7140BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#7140BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140BA
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140BA#FFFFFF#000000##FFFFFF
##7140BA1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBE
Deuteranopia (green-blind)
#005BB7
Tritanopia (blue-blind)
#5F5C77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7140ba;
/* rgb */ color: rgb(113, 64, 186);
/* oklch */ color: oklch(49.5% 0.183 297.8);
Tailwind
colors: {
  custom: {
    50: '#9f78d0',
    500: '#7140ba',
    950: '#000000',
  },
}
SCSS
$custom: #7140ba;
$custom-light: #9f78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7140ba",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 186
  },
  "hsl": {
    "h": 264.098,
    "s": 48.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49549,
    "c": 0.18292,
    "h": 297.8
  },
  "luminance": 0.10723
}

Semantic roles & 50–950 ramp

primary
#7140BA
secondary
#B1C88E
accent
#D84FA1
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7140BA

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

Preview Lab → · Contrast checker → · Palette generator →

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