#7140AF#7140AF

#7140AF is a mid, vivid violet. Relative luminance 0.103; OKLCH L 48.7% C 0.170 H 300.5°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#7140AF
RGBrgb(113, 64, 175)
HSLhsl(266, 46%, 47%)
HSVhsv(266, 63%, 69%)
CMYKcmyk(35.4%, 63.4%, 0%, 31.4%)
CIE-LABlab(38.33, 44.07, -51.54)
CIE-LCHlch(38.33, 67.81, 310.54°)
OKLaboklab(48.74% 0.0863 -0.1464)
OKLCHoklch(48.74% 0.17 300.5)
XYZxyz(16.3794, 10.2725, 41.6690)
Luminance0.1027 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140AF #7EAF40
analogous
#4047AF #7140AF #A940AF
triadic
#7140AF #AF7140 #40AF71
tetradic
#7140AF #AF4047 #7EAF40 #40AFA9
square
#7140AF #AF4047 #7EAF40 #40AFA9
split-complementary
#7140AF #AFA940 #47AF40
monochromatic
#371F55 #543082 #7140AF #9065C7 #B192D7

Accessibility & contrast

On white

6.87
#7140AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#7140AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140AF
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140AF#FFFFFF#000000##FFFFFF
##7140AF1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB2
Deuteranopia (green-blind)
#1459AD
Tritanopia (blue-blind)
#645871
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7140af;
/* rgb */ color: rgb(113, 64, 175);
/* oklch */ color: oklch(48.7% 0.170 300.5);
Tailwind
colors: {
  custom: {
    50: '#9e77c8',
    500: '#7140af',
    950: '#000000',
  },
}
SCSS
$custom: #7140af;
$custom-light: #9e77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7140af",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 175
  },
  "hsl": {
    "h": 266.486,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48736,
    "c": 0.16996,
    "h": 300.5
  },
  "luminance": 0.10273
}

Semantic roles & 50–950 ramp

primary
#7140AF
secondary
#A9C388
accent
#D6529C
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7140AF

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

Preview Lab → · Contrast checker → · Palette generator →

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