#7140D6#7140D6

#7140D6 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 51.8% C 0.215 H 292.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#7140D6
RGBrgb(113, 64, 214)
HSLhsl(260, 65%, 55%)
HSVhsv(260, 70%, 84%)
CMYKcmyk(47.2%, 70.1%, 0%, 16.1%)
CIE-LABlab(41.27, 54.36, -69.52)
CIE-LCHlch(41.27, 88.25, 308.02°)
OKLaboklab(51.77% 0.0811 -0.1993)
OKLCHoklch(51.77% 0.215 292.1)
XYZxyz(20.7777, 12.0318, 64.8329)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140D6 #A5D640
analogous
#405AD6 #7140D6 #BC40D6
triadic
#7140D6 #D67140 #40D671
tetradic
#7140D6 #D6405A #A5D640 #40D6BC
square
#7140D6 #D6405A #A5D640 #40D6BC
split-complementary
#7140D6 #D6BC40 #5AD640
monochromatic
#3C1B80 #5426B2 #7140D6 #9672E1 #BCA5EC

Accessibility & contrast

On white

6.16
#7140D6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#7140D6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140D6
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140D6#FFFFFF#000000##FFFFFF
##7140D61.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063DA
Deuteranopia (green-blind)
#005ED3
Tritanopia (blue-blind)
#516687
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7140d6;
/* rgb */ color: rgb(113, 64, 214);
/* oklch */ color: oklch(51.8% 0.215 292.1);
Tailwind
colors: {
  custom: {
    50: '#a279e4',
    500: '#7140d6',
    950: '#000000',
  },
}
SCSS
$custom: #7140d6;
$custom-light: #a279e4;
$custom-dark: #000000;
JSON
{
  "hex": "#7140d6",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 214
  },
  "hsl": {
    "h": 259.6,
    "s": 64.655,
    "l": 54.51
  },
  "oklch": {
    "l": 0.51767,
    "c": 0.21515,
    "h": 292.1
  },
  "luminance": 0.12033
}

Semantic roles & 50–950 ramp

primary
#7140D6
secondary
#C4D999
accent
#E840B1
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100916
muted
#7F7B84

Preview Lab

Preview with #7140D6

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

Preview Lab → · Contrast checker → · Palette generator →

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