#7140E6#7140E6

#7140E6 is a mid, highly saturated violet. Relative luminance 0.129; OKLCH L 53.1% C 0.233 H 289.5°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#7140E6
RGBrgb(113, 64, 230)
HSLhsl(258, 77%, 58%)
HSVhsv(258, 72%, 90%)
CMYKcmyk(50.9%, 72.2%, 0%, 9.8%)
CIE-LABlab(42.60, 58.65, -76.48)
CIE-LCHlch(42.60, 96.38, 307.48°)
OKLaboklab(53.12% 0.0778 -0.2197)
OKLCHoklch(53.12% 0.233 289.5)
XYZxyz(22.9222, 12.8897, 76.1277)
Luminance0.1289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140E6 #B5E640
analogous
#4062E6 #7140E6 #C440E6
triadic
#7140E6 #E67140 #40E671
tetradic
#7140E6 #E64062 #B5E640 #40E6C4
square
#7140E6 #E64062 #B5E640 #40E6C4
split-complementary
#7140E6 #E6C440 #62E640
monochromatic
#3B1498 #501BCE #7140E6 #9976ED #C1ACF4

Accessibility & contrast

On white

5.87
#7140E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#7140E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140E6
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140E6#FFFFFF#000000##FFFFFF
##7140E61.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068EB
Deuteranopia (green-blind)
#0060E3
Tritanopia (blue-blind)
#466D8F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7140e6;
/* rgb */ color: rgb(113, 64, 230);
/* oklch */ color: oklch(53.1% 0.233 289.5);
Tailwind
colors: {
  custom: {
    50: '#a479ef',
    500: '#7140e6',
    950: '#000000',
  },
}
SCSS
$custom: #7140e6;
$custom-light: #a479ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7140e6",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 230
  },
  "hsl": {
    "h": 257.711,
    "s": 76.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.5312,
    "c": 0.23307,
    "h": 289.5
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

primary
#7140E6
secondary
#CFE29F
accent
#F334BB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100917
muted
#7F7B85

Preview Lab

Preview with #7140E6

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

Preview Lab → · Contrast checker → · Palette generator →

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