#7140AC#7140AC

#7140AC is a mid, vivid violet. Relative luminance 0.102; OKLCH L 48.5% C 0.166 H 301.3°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7140AC
RGBrgb(113, 64, 172)
HSLhsl(267, 46%, 46%)
HSVhsv(267, 63%, 67%)
CMYKcmyk(34.3%, 62.8%, 0%, 32.5%)
CIE-LABlab(38.12, 43.30, -50.09)
CIE-LCHlch(38.12, 66.21, 310.84°)
OKLaboklab(48.52% 0.0865 -0.1422)
OKLCHoklch(48.52% 0.166 301.3)
XYZxyz(16.0881, 10.1560, 40.1344)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140AC #7BAC40
analogous
#4045AC #7140AC #A740AC
triadic
#7140AC #AC7140 #40AC71
tetradic
#7140AC #AC4045 #7BAC40 #40ACA7
square
#7140AC #AC4045 #7BAC40 #40ACA7
split-complementary
#7140AC #ACA740 #45AC40
monochromatic
#361F53 #542F7F #7140AC #9064C5 #B091D6

Accessibility & contrast

On white

6.93
#7140AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7140AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140AC
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140AC#FFFFFF#000000##FFFFFF
##7140AC1.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059AF
Deuteranopia (green-blind)
#1B59AA
Tritanopia (blue-blind)
#655770
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7140ac;
/* rgb */ color: rgb(113, 64, 172);
/* oklch */ color: oklch(48.5% 0.166 301.3);
Tailwind
colors: {
  custom: {
    50: '#9e77c5',
    500: '#7140ac',
    950: '#000000',
  },
}
SCSS
$custom: #7140ac;
$custom-light: #9e77c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7140ac",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 172
  },
  "hsl": {
    "h": 267.222,
    "s": 45.763,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48521,
    "c": 0.16641,
    "h": 301.3
  },
  "luminance": 0.10156
}

Semantic roles & 50–950 ramp

primary
#7140AC
secondary
#A7C187
accent
#D5529A
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7140AC

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

Preview Lab → · Contrast checker → · Palette generator →

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