#7140CA#7140CA

#7140CA is a mid, highly saturated violet. Relative luminance 0.114; OKLCH L 50.8% C 0.201 H 294.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#7140CA
RGBrgb(113, 64, 202)
HSLhsl(261, 57%, 52%)
HSVhsv(261, 68%, 79%)
CMYKcmyk(44.1%, 68.3%, 0%, 20.8%)
CIE-LABlab(40.31, 51.16, -64.15)
CIE-LCHlch(40.31, 82.05, 308.57°)
OKLaboklab(50.79% 0.0832 -0.1835)
OKLCHoklch(50.79% 0.201 294.4)
XYZxyz(19.3012, 11.4413, 57.0571)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140CA #99CA40
analogous
#4054CA #7140CA #B640CA
triadic
#7140CA #CA7140 #40CA71
tetradic
#7140CA #CA4054 #99CA40 #40CAB6
square
#7140CA #CA4054 #99CA40 #40CAB6
split-complementary
#7140CA #CAB640 #54CA40
monochromatic
#3C1F70 #562CA0 #7140CA #9570D7 #B8A0E5

Accessibility & contrast

On white

6.39
#7140CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#7140CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140CA
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140CA#FFFFFF#000000##FFFFFF
##7140CA1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CE
Deuteranopia (green-blind)
#005DC7
Tritanopia (blue-blind)
#586280
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7140ca;
/* rgb */ color: rgb(113, 64, 202);
/* oklch */ color: oklch(50.8% 0.201 294.4);
Tailwind
colors: {
  custom: {
    50: '#a178db',
    500: '#7140ca',
    950: '#000000',
  },
}
SCSS
$custom: #7140ca;
$custom-light: #a178db;
$custom-dark: #000000;
JSON
{
  "hex": "#7140ca",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 202
  },
  "hsl": {
    "h": 261.304,
    "s": 56.557,
    "l": 52.157
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.20147,
    "h": 294.4
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

primary
#7140CA
secondary
#BCD195
accent
#E048AA
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7140CA

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

Preview Lab → · Contrast checker → · Palette generator →

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