#742AB6#742AB6

#742AB6 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 47.0% C 0.205 H 303.1°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#742AB6
RGBrgb(116, 42, 182)
HSLhsl(272, 63%, 44%)
HSVhsv(272, 77%, 71%)
CMYKcmyk(36.3%, 76.9%, 0%, 28.6%)
CIE-LABlab(35.49, 56.82, -60.27)
CIE-LCHlch(35.49, 82.83, 313.31°)
OKLaboklab(46.96% 0.112 -0.1719)
OKLCHoklch(46.96% 0.205 303.1)
XYZxyz(16.4719, 8.7463, 45.0673)
Luminance0.0875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742AB6 #6CB62A
analogous
#2E2AB6 #742AB6 #B62AB2
triadic
#742AB6 #B6742A #2AB674
tetradic
#742AB6 #B62E2A #6CB62A #2AB2B6
square
#742AB6 #B62E2A #6CB62A #2AB2B6
split-complementary
#742AB6 #B2B62A #2AB62E
monochromatic
#351353 #541F84 #742AB6 #9348D5 #B07AE0

Accessibility & contrast

On white

7.64
#742AB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#742AB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742AB6
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742AB6#FFFFFF#000000##FFFFFF
##742AB61.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BA
Deuteranopia (green-blind)
#0053B3
Tritanopia (blue-blind)
#664E6F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #742ab6;
/* rgb */ color: rgb(116, 42, 182);
/* oklch */ color: oklch(47.0% 0.205 303.1);
Tailwind
colors: {
  custom: {
    50: '#a26ccd',
    500: '#742ab6',
    950: '#000000',
  },
}
SCSS
$custom: #742ab6;
$custom-light: #a26ccd;
$custom-dark: #000000;
JSON
{
  "hex": "#742ab6",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 271.714,
    "s": 62.5,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46962,
    "c": 0.20517,
    "h": 303.1
  },
  "luminance": 0.08746
}

Semantic roles & 50–950 ramp

primary
#742AB6
secondary
#9BC873
accent
#E6428F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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