#7140B9#7140B9

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

Color values

HEX#7140B9
RGBrgb(113, 64, 185)
HSLhsl(264, 49%, 49%)
HSVhsv(264, 65%, 73%)
CMYKcmyk(38.9%, 65.4%, 0%, 27.5%)
CIE-LABlab(39.04, 46.67, -56.30)
CIE-LCHlch(39.04, 73.13, 309.66°)
OKLaboklab(49.47% 0.0854 -0.1604)
OKLCHoklch(49.47% 0.182 298)
XYZxyz(17.3982, 10.6800, 47.0344)
Luminance0.1068 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140B9 #88B940
analogous
#404CB9 #7140B9 #AE40B9
triadic
#7140B9 #B97140 #40B971
tetradic
#7140B9 #B9404C #88B940 #40B9AE
square
#7140B9 #B9404C #88B940 #40B9AE
split-complementary
#7140B9 #B9AE40 #4CB940
monochromatic
#39215E #55308C #7140B9 #926BCC #B398DB

Accessibility & contrast

On white

6.70
#7140B9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7140B9
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140B9#FFFFFF#000000##FFFFFF
##7140B91.006.703.146.70
#FFFFFF6.701.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CBD
Deuteranopia (green-blind)
#005BB6
Tritanopia (blue-blind)
#605C77
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7140b9;
/* rgb */ color: rgb(113, 64, 185);
/* oklch */ color: oklch(49.5% 0.182 298.0);
Tailwind
colors: {
  custom: {
    50: '#9f78cf',
    500: '#7140b9',
    950: '#000000',
  },
}
SCSS
$custom: #7140b9;
$custom-light: #9f78cf;
$custom-dark: #000000;
JSON
{
  "hex": "#7140b9",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 185
  },
  "hsl": {
    "h": 264.298,
    "s": 48.594,
    "l": 48.824
  },
  "oklch": {
    "l": 0.49473,
    "c": 0.18175,
    "h": 298
  },
  "luminance": 0.1068
}

Semantic roles & 50–950 ramp

primary
#7140B9
secondary
#B0C78E
accent
#D850A1
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7140B9

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

Preview Lab → · Contrast checker → · Palette generator →

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