#742CAE#742CAE

#742CAE is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.195 H 305.1°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#742CAE
RGBrgb(116, 44, 174)
HSLhsl(273, 60%, 43%)
HSVhsv(273, 75%, 68%)
CMYKcmyk(33.3%, 74.7%, 0%, 31.8%)
CIE-LABlab(35.14, 54.13, -56.08)
CIE-LCHlch(35.14, 77.95, 313.99°)
OKLaboklab(46.52% 0.112 -0.1596)
OKLCHoklch(46.52% 0.195 305.1)
XYZxyz(15.7414, 8.5705, 40.8612)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742CAE #66AE2C
analogous
#332CAE #742CAE #AE2CA7
triadic
#742CAE #AE742C #2CAE74
tetradic
#742CAE #AE332C #66AE2C #2CA7AE
square
#742CAE #AE332C #66AE2C #2CA7AE
split-complementary
#742CAE #A7AE2C #2CAE33
monochromatic
#33134C #53207D #742CAE #9347D0 #B078DD

Accessibility & contrast

On white

7.74
#742CAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#742CAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742CAE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742CAE#FFFFFF#000000##FFFFFF
##742CAE1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#694C6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #742cae;
/* rgb */ color: rgb(116, 44, 174);
/* oklch */ color: oklch(46.5% 0.195 305.1);
Tailwind
colors: {
  custom: {
    50: '#a16cc7',
    500: '#742cae',
    950: '#000000',
  },
}
SCSS
$custom: #742cae;
$custom-light: #a16cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#742cae",
  "rgb": {
    "r": 116,
    "g": 44,
    "b": 174
  },
  "hsl": {
    "h": 273.231,
    "s": 59.633,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46519,
    "c": 0.19499,
    "h": 305.1
  },
  "luminance": 0.0857
}

Semantic roles & 50–950 ramp

primary
#742CAE
secondary
#96C571
accent
#E3458B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #742CAE

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

Preview Lab → · Contrast checker → · Palette generator →

#742CAE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva