#7140CF#7140CF

#7140CF is a mid, highly saturated violet. Relative luminance 0.117; OKLCH L 51.2% C 0.207 H 293.4°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7140CF
RGBrgb(113, 64, 207)
HSLhsl(261, 60%, 53%)
HSVhsv(261, 69%, 81%)
CMYKcmyk(45.4%, 69.1%, 0%, 18.8%)
CIE-LABlab(40.71, 52.49, -66.40)
CIE-LCHlch(40.71, 84.65, 308.32°)
OKLaboklab(51.19% 0.0823 -0.1901)
OKLCHoklch(51.19% 0.207 293.4)
XYZxyz(19.9028, 11.6819, 60.2256)
Luminance0.1168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140CF #9ECF40
analogous
#4056CF #7140CF #B840CF
triadic
#7140CF #CF7140 #40CF71
tetradic
#7140CF #CF4056 #9ECF40 #40CFB8
square
#7140CF #CF4056 #9ECF40 #40CFB8
split-complementary
#7140CF #CFB840 #56CF40
monochromatic
#3C1E77 #552AA8 #7140CF #9571DB #BAA2E8

Accessibility & contrast

On white

6.29
#7140CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7140CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140CF
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140CF#FFFFFF#000000##FFFFFF
##7140CF1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#556483
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7140cf;
/* rgb */ color: rgb(113, 64, 207);
/* oklch */ color: oklch(51.2% 0.207 293.4);
Tailwind
colors: {
  custom: {
    50: '#a178df',
    500: '#7140cf',
    950: '#000000',
  },
}
SCSS
$custom: #7140cf;
$custom-light: #a178df;
$custom-dark: #000000;
JSON
{
  "hex": "#7140cf",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 260.559,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.51194,
    "c": 0.2072,
    "h": 293.4
  },
  "luminance": 0.11682
}

Semantic roles & 50–950 ramp

primary
#7140CF
secondary
#BFD497
accent
#E345AD
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7140CF

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

Preview Lab → · Contrast checker → · Palette generator →

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