#7140D4#7140D4

#7140D4 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.6% C 0.213 H 292.5°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#7140D4
RGBrgb(113, 64, 212)
HSLhsl(260, 63%, 54%)
HSVhsv(260, 70%, 83%)
CMYKcmyk(46.7%, 69.8%, 0%, 16.9%)
CIE-LABlab(41.11, 53.83, -68.64)
CIE-LCHlch(41.11, 87.22, 308.10°)
OKLaboklab(51.6% 0.0814 -0.1967)
OKLCHoklch(51.6% 0.213 292.5)
XYZxyz(20.5238, 11.9303, 63.4960)
Luminance0.1193 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140D4 #A3D440
analogous
#4059D4 #7140D4 #BB40D4
triadic
#7140D4 #D47140 #40D471
tetradic
#7140D4 #D44059 #A3D440 #40D4BB
square
#7140D4 #D44059 #A3D440 #40D4BB
split-complementary
#7140D4 #D4BB40 #59D440
monochromatic
#3C1C7D #5427AF #7140D4 #9672DF #BBA4EA

Accessibility & contrast

On white

6.20
#7140D4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#7140D4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140D4
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140D4#FFFFFF#000000##FFFFFF
##7140D41.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D8
Deuteranopia (green-blind)
#005ED1
Tritanopia (blue-blind)
#536685
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7140d4;
/* rgb */ color: rgb(113, 64, 212);
/* oklch */ color: oklch(51.6% 0.213 292.5);
Tailwind
colors: {
  custom: {
    50: '#a279e2',
    500: '#7140d4',
    950: '#000000',
  },
}
SCSS
$custom: #7140d4;
$custom-light: #a279e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7140d4",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 212
  },
  "hsl": {
    "h": 259.865,
    "s": 63.248,
    "l": 54.118
  },
  "oklch": {
    "l": 0.51602,
    "c": 0.21288,
    "h": 292.5
  },
  "luminance": 0.11931
}

Semantic roles & 50–950 ramp

primary
#7140D4
secondary
#C3D798
accent
#E642B0
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #7140D4

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

Preview Lab → · Contrast checker → · Palette generator →

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