#7140D3#7140D3

#7140D3 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 51.5% C 0.212 H 292.7°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#7140D3
RGBrgb(113, 64, 211)
HSLhsl(260, 63%, 54%)
HSVhsv(260, 70%, 83%)
CMYKcmyk(46.4%, 69.7%, 0%, 17.3%)
CIE-LABlab(41.02, 53.56, -68.19)
CIE-LCHlch(41.02, 86.71, 308.15°)
OKLaboklab(51.52% 0.0816 -0.1954)
OKLCHoklch(51.52% 0.212 292.7)
XYZxyz(20.3981, 11.8800, 62.8337)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7140D3 #A2D340
analogous
#4059D3 #7140D3 #BB40D3
triadic
#7140D3 #D37140 #40D371
tetradic
#7140D3 #D34059 #A2D340 #40D3BB
square
#7140D3 #D34059 #A2D340 #40D3BB
split-complementary
#7140D3 #D3BB40 #59D340
monochromatic
#3C1D7C #5528AE #7140D3 #9672DE #BBA3EA

Accessibility & contrast

On white

6.22
#7140D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7140D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7140D3
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7140D3#FFFFFF#000000##FFFFFF
##7140D31.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D7
Deuteranopia (green-blind)
#005ED0
Tritanopia (blue-blind)
#536585
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7140d3;
/* rgb */ color: rgb(113, 64, 211);
/* oklch */ color: oklch(51.5% 0.212 292.7);
Tailwind
colors: {
  custom: {
    50: '#a279e2',
    500: '#7140d3',
    950: '#000000',
  },
}
SCSS
$custom: #7140d3;
$custom-light: #a279e2;
$custom-dark: #000000;
JSON
{
  "hex": "#7140d3",
  "rgb": {
    "r": 113,
    "g": 64,
    "b": 211
  },
  "hsl": {
    "h": 260,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5152,
    "c": 0.21175,
    "h": 292.7
  },
  "luminance": 0.11881
}

Semantic roles & 50–950 ramp

primary
#7140D3
secondary
#C2D798
accent
#E642AF
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100915
muted
#7F7B84

Preview Lab

Preview with #7140D3

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

Preview Lab → · Contrast checker → · Palette generator →

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