#742AAC#742AAC

#742AAC is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.2% C 0.195 H 305.9°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#742AAC
RGBrgb(116, 42, 172)
HSLhsl(274, 61%, 42%)
HSVhsv(274, 76%, 67%)
CMYKcmyk(32.6%, 75.6%, 0%, 32.5%)
CIE-LABlab(34.70, 54.51, -55.61)
CIE-LCHlch(34.70, 77.87, 314.42°)
OKLaboklab(46.16% 0.1143 -0.1582)
OKLCHoklch(46.16% 0.195 305.9)
XYZxyz(15.4752, 8.3476, 39.8177)
Luminance0.0835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742AAC #62AC2A
analogous
#332AAC #742AAC #AC2AA3
triadic
#742AAC #AC742A #2AAC74
tetradic
#742AAC #AC332A #62AC2A #2AA3AC
square
#742AAC #AC332A #62AC2A #2AA3AC
split-complementary
#742AAC #A3AC2A #2AAC33
monochromatic
#32124A #531E7B #742AAC #9342D1 #B073DD

Accessibility & contrast

On white

7.87
#742AAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#742AAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742AAC
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742AAC#FFFFFF#000000##FFFFFF
##742AAC1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0052A9
Tritanopia (blue-blind)
#6A4A69
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #742aac;
/* rgb */ color: rgb(116, 42, 172);
/* oklch */ color: oklch(46.2% 0.195 305.9);
Tailwind
colors: {
  custom: {
    50: '#a16bc6',
    500: '#742aac',
    950: '#000000',
  },
}
SCSS
$custom: #742aac;
$custom-light: #a16bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#742aac",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 172
  },
  "hsl": {
    "h": 274.154,
    "s": 60.748,
    "l": 41.961
  },
  "oklch": {
    "l": 0.46155,
    "c": 0.19518,
    "h": 305.9
  },
  "luminance": 0.08347
}

Semantic roles & 50–950 ramp

primary
#742AAC
secondary
#93C46D
accent
#E44489
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #742AAC

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

Preview Lab → · Contrast checker → · Palette generator →

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