#7140BB#7140BB

#7140BB is a mid, vivid violet. Relative luminance 0.108; OKLCH L 49.6% C 0.184 H 297.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#7140BB
RGBrgb(113, 64, 187)
HSLhsl(264, 49%, 49%)
HSVhsv(264, 66%, 73%)
CMYKcmyk(39.6%, 65.8%, 0%, 26.7%)
CIE-LABlab(39.18, 47.19, -57.24)
CIE-LCHlch(39.18, 74.18, 309.51°)
OKLaboklab(49.62% 0.0852 -0.1632)
OKLCHoklch(49.62% 0.184 297.6)
XYZxyz(17.6108, 10.7651, 48.1541)
Luminance0.1076 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140BB #8ABB40
analogous
#404DBB #7140BB #AF40BB
triadic
#7140BB #BB7140 #40BB71
tetradic
#7140BB #BB404D #8ABB40 #40BBAF
square
#7140BB #BB404D #8ABB40 #40BBAF
split-complementary
#7140BB #BBAF40 #4DBB40
monochromatic
#3A2160 #55308D #7140BB #926CCD #B499DC

Accessibility & contrast

On white

6.66
#7140BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#7140BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140BB
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140BB#FFFFFF#000000##FFFFFF
##7140BB1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBF
Deuteranopia (green-blind)
#005BB8
Tritanopia (blue-blind)
#5F5C78
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #7140bb;
/* rgb */ color: rgb(113, 64, 187);
/* oklch */ color: oklch(49.6% 0.184 297.6);
Tailwind
colors: {
  custom: {
    50: '#9f78d0',
    500: '#7140bb',
    950: '#000000',
  },
}
SCSS
$custom: #7140bb;
$custom-light: #9f78d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7140bb",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 187
  },
  "hsl": {
    "h": 263.902,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49624,
    "c": 0.18409,
    "h": 297.6
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7140BB

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

Preview Lab → · Contrast checker → · Palette generator →

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