#7142AE#7142AE

#7142AE is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.0% C 0.166 H 300.4°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#7142AE
RGBrgb(113, 66, 174)
HSLhsl(266, 45%, 47%)
HSVhsv(266, 62%, 68%)
CMYKcmyk(35.1%, 62.1%, 0%, 31.8%)
CIE-LABlab(38.66, 42.73, -50.41)
CIE-LCHlch(38.66, 66.08, 310.29°)
OKLaboklab(48.96% 0.084 -0.1431)
OKLCHoklch(48.96% 0.166 300.4)
XYZxyz(16.3964, 10.4630, 41.1919)
Luminance0.1046 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7142AE #7FAE42
analogous
#4249AE #7142AE #A742AE
triadic
#7142AE #AE7142 #42AE71
tetradic
#7142AE #AE4249 #7FAE42 #42AEA7
square
#7142AE #AE4249 #7FAE42 #42AEA7
split-complementary
#7142AE #AEA742 #49AE42
monochromatic
#372055 #543182 #7142AE #9168C6 #B194D6

Accessibility & contrast

On white

6.79
#7142AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#7142AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7142AE
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7142AE#FFFFFF#000000##FFFFFF
##7142AE1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB1
Deuteranopia (green-blind)
#1B5AAC
Tritanopia (blue-blind)
#645972
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7142ae;
/* rgb */ color: rgb(113, 66, 174);
/* oklch */ color: oklch(49.0% 0.166 300.4);
Tailwind
colors: {
  custom: {
    50: '#9e79c7',
    500: '#7142ae',
    950: '#000000',
  },
}
SCSS
$custom: #7142ae;
$custom-light: #9e79c7;
$custom-dark: #000000;
JSON
{
  "hex": "#7142ae",
  "rgb": {
    "r": 113,
    "g": 66,
    "b": 174
  },
  "hsl": {
    "h": 266.111,
    "s": 45,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48957,
    "c": 0.16592,
    "h": 300.4
  },
  "luminance": 0.10463
}

Semantic roles & 50–950 ramp

primary
#7142AE
secondary
#AAC28A
accent
#D5539C
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0913
muted
#7F7B82

Preview Lab

Preview with #7142AE

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

Preview Lab → · Contrast checker → · Palette generator →

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