#7140C8#7140C8

#7140C8 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.199 H 294.8°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7140C8
RGBrgb(113, 64, 200)
HSLhsl(262, 55%, 52%)
HSVhsv(262, 68%, 78%)
CMYKcmyk(43.5%, 68%, 0%, 21.6%)
CIE-LABlab(40.16, 50.63, -63.24)
CIE-LCHlch(40.16, 81.01, 308.68°)
OKLaboklab(50.63% 0.0835 -0.1808)
OKLCHoklch(50.63% 0.199 294.8)
XYZxyz(19.0660, 11.3471, 55.8181)
Luminance0.1135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140C8 #97C840
analogous
#4053C8 #7140C8 #B540C8
triadic
#7140C8 #C87140 #40C871
tetradic
#7140C8 #C84053 #97C840 #40C8B5
square
#7140C8 #C84053 #97C840 #40C8B5
split-complementary
#7140C8 #C8B540 #53C840
monochromatic
#3C206E #562D9D #7140C8 #9470D6 #B89FE3

Accessibility & contrast

On white

6.42
#7140C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7140C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140C8
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140C8#FFFFFF#000000##FFFFFF
##7140C81.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060CC
Deuteranopia (green-blind)
#005CC5
Tritanopia (blue-blind)
#59617F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7140c8;
/* rgb */ color: rgb(113, 64, 200);
/* oklch */ color: oklch(50.6% 0.199 294.8);
Tailwind
colors: {
  custom: {
    50: '#a178da',
    500: '#7140c8',
    950: '#000000',
  },
}
SCSS
$custom: #7140c8;
$custom-light: #a178da;
$custom-dark: #000000;
JSON
{
  "hex": "#7140c8",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 200
  },
  "hsl": {
    "h": 261.618,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.19917,
    "h": 294.8
  },
  "luminance": 0.11348
}

Semantic roles & 50–950 ramp

primary
#7140C8
secondary
#BAD094
accent
#DF49A9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100915
muted
#7F7B83

Preview Lab

Preview with #7140C8

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

Preview Lab → · Contrast checker → · Palette generator →

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