#7142A4#7142A4

#7142A4 is a mid, vivid violet. Relative luminance 0.101; OKLCH L 48.3% C 0.154 H 303.2°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#7142A4
RGBrgb(113, 66, 164)
HSLhsl(269, 43%, 45%)
HSVhsv(269, 60%, 64%)
CMYKcmyk(31.1%, 59.8%, 0%, 35.7%)
CIE-LABlab(38.00, 40.17, -45.51)
CIE-LCHlch(38.00, 60.70, 311.43°)
OKLaboklab(48.26% 0.0843 -0.1287)
OKLCHoklch(48.26% 0.154 303.2)
XYZxyz(15.4576, 10.0875, 36.2475)
Luminance0.1009 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7142A4 #75A442
analogous
#4244A4 #7142A4 #A242A4
triadic
#7142A4 #A47142 #42A471
tetradic
#7142A4 #A44244 #75A442 #42A4A2
square
#7142A4 #A44244 #75A442 #42A4A2
split-complementary
#7142A4 #A4A242 #44A442
monochromatic
#351F4D #533078 #7142A4 #9063C0 #AF8FD2

Accessibility & contrast

On white

6.96
#7142A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#7142A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7142A4
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7142A4#FFFFFF#000000##FFFFFF
##7142A41.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1358A7
Deuteranopia (green-blind)
#2A59A2
Tritanopia (blue-blind)
#67566C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7142a4;
/* rgb */ color: rgb(113, 66, 164);
/* oklch */ color: oklch(48.3% 0.154 303.2);
Tailwind
colors: {
  custom: {
    50: '#9d78bf',
    500: '#7142a4',
    950: '#000000',
  },
}
SCSS
$custom: #7142a4;
$custom-light: #9d78bf;
$custom-dark: #000000;
JSON
{
  "hex": "#7142a4",
  "rgb": {
    "r": 113,
    "g": 66,
    "b": 164
  },
  "hsl": {
    "h": 268.776,
    "s": 42.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.48263,
    "c": 0.15387,
    "h": 303.2
  },
  "luminance": 0.10087
}

Semantic roles & 50–950 ramp

primary
#7142A4
secondary
#A2BD85
accent
#D25596
background
#F9F7FB
surface
#F2EDF7
border
#CCC8D0
text
#0F0912
muted
#7E7B81

Preview Lab

Preview with #7142A4

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

Preview Lab → · Contrast checker → · Palette generator →

#7142A4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva