#742AAB#742AAB

#742AAB is a mid, vivid violet. Relative luminance 0.083; OKLCH L 46.1% C 0.194 H 306.1°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#742AAB
RGBrgb(116, 42, 171)
HSLhsl(274, 61%, 42%)
HSVhsv(274, 75%, 67%)
CMYKcmyk(32.2%, 75.4%, 0%, 32.9%)
CIE-LABlab(34.62, 54.28, -55.14)
CIE-LCHlch(34.62, 77.37, 314.55°)
OKLaboklab(46.08% 0.1145 -0.1568)
OKLCHoklch(46.08% 0.194 306.1)
XYZxyz(15.3795, 8.3094, 39.3138)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742AAB #61AB2A
analogous
#342AAB #742AAB #AB2AA1
triadic
#742AAB #AB742A #2AAB74
tetradic
#742AAB #AB342A #61AB2A #2AA1AB
square
#742AAB #AB342A #61AB2A #2AA1AB
split-complementary
#742AAB #A1AB2A #2AAB34
monochromatic
#311249 #531E7A #742AAB #9442D1 #AF73DD

Accessibility & contrast

On white

7.89
#742AAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#742AAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742AAB
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742AAB#FFFFFF#000000##FFFFFF
##742AAB1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0052A8
Tritanopia (blue-blind)
#6A4A69
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #742aab;
/* rgb */ color: rgb(116, 42, 171);
/* oklch */ color: oklch(46.1% 0.194 306.1);
Tailwind
colors: {
  custom: {
    50: '#a16bc5',
    500: '#742aab',
    950: '#000000',
  },
}
SCSS
$custom: #742aab;
$custom-light: #a16bc5;
$custom-dark: #000000;
JSON
{
  "hex": "#742aab",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 171
  },
  "hsl": {
    "h": 274.419,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.46076,
    "c": 0.19418,
    "h": 306.1
  },
  "luminance": 0.08309
}

Semantic roles & 50–950 ramp

primary
#742AAB
secondary
#92C46D
accent
#E44488
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #742AAB

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

Preview Lab → · Contrast checker → · Palette generator →

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