#7140BC#7140BC

#7140BC is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.7% C 0.185 H 297.3°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#7140BC
RGBrgb(113, 64, 188)
HSLhsl(264, 49%, 49%)
HSVhsv(264, 66%, 74%)
CMYKcmyk(39.9%, 66%, 0%, 26.3%)
CIE-LABlab(39.26, 47.46, -57.70)
CIE-LCHlch(39.26, 74.71, 309.43°)
OKLaboklab(49.7% 0.0851 -0.1646)
OKLCHoklch(49.7% 0.185 297.3)
XYZxyz(17.7182, 10.8080, 48.7199)
Luminance0.1081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140BC #8BBC40
analogous
#404DBC #7140BC #AF40BC
triadic
#7140BC #BC7140 #40BC71
tetradic
#7140BC #BC404D #8BBC40 #40BCAF
square
#7140BC #BC404D #8BBC40 #40BCAF
split-complementary
#7140BC #BCAF40 #4DBC40
monochromatic
#3A2161 #56308E #7140BC #926CCD #B49ADD

Accessibility & contrast

On white

6.64
#7140BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#7140BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140BC
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140BC#FFFFFF#000000##FFFFFF
##7140BC1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#005BB9
Tritanopia (blue-blind)
#5F5D78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7140bc;
/* rgb */ color: rgb(113, 64, 188);
/* oklch */ color: oklch(49.7% 0.185 297.3);
Tailwind
colors: {
  custom: {
    50: '#9f78d1',
    500: '#7140bc',
    950: '#000000',
  },
}
SCSS
$custom: #7140bc;
$custom-light: #9f78d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7140bc",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 188
  },
  "hsl": {
    "h": 263.71,
    "s": 49.206,
    "l": 49.412
  },
  "oklch": {
    "l": 0.497,
    "c": 0.18526,
    "h": 297.3
  },
  "luminance": 0.10808
}

Semantic roles & 50–950 ramp

primary
#7140BC
secondary
#B2C98F
accent
#D94FA2
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0914
muted
#7F7B82

Preview Lab

Preview with #7140BC

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

Preview Lab → · Contrast checker → · Palette generator →

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