#7140CE#7140CE

#7140CE is a mid, highly saturated violet. Relative luminance 0.116; OKLCH L 51.1% C 0.206 H 293.6°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#7140CE
RGBrgb(113, 64, 206)
HSLhsl(261, 59%, 53%)
HSVhsv(261, 69%, 81%)
CMYKcmyk(45.1%, 68.9%, 0%, 19.2%)
CIE-LABlab(40.63, 52.22, -65.96)
CIE-LCHlch(40.63, 84.13, 308.37°)
OKLaboklab(51.11% 0.0825 -0.1888)
OKLCHoklch(51.11% 0.206 293.6)
XYZxyz(19.7810, 11.6331, 59.5837)
Luminance0.1163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140CE #9DCE40
analogous
#4056CE #7140CE #B840CE
triadic
#7140CE #CE7140 #40CE71
tetradic
#7140CE #CE4056 #9DCE40 #40CEB8
square
#7140CE #CE4056 #9DCE40 #40CEB8
split-complementary
#7140CE #CEB840 #56CE40
monochromatic
#3C1E75 #552BA6 #7140CE #9571DA #B9A1E7

Accessibility & contrast

On white

6.31
#7140CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#7140CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140CE
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140CE#FFFFFF#000000##FFFFFF
##7140CE1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D2
Deuteranopia (green-blind)
#005DCB
Tritanopia (blue-blind)
#566382
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7140ce;
/* rgb */ color: rgb(113, 64, 206);
/* oklch */ color: oklch(51.1% 0.206 293.6);
Tailwind
colors: {
  custom: {
    50: '#a178de',
    500: '#7140ce',
    950: '#000000',
  },
}
SCSS
$custom: #7140ce;
$custom-light: #a178de;
$custom-dark: #000000;
JSON
{
  "hex": "#7140ce",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 206
  },
  "hsl": {
    "h": 260.704,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.51113,
    "c": 0.20605,
    "h": 293.6
  },
  "luminance": 0.11634
}

Semantic roles & 50–950 ramp

primary
#7140CE
secondary
#BED496
accent
#E245AC
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7140CE

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

Preview Lab → · Contrast checker → · Palette generator →

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