#742AC4#742AC4

#742AC4 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.1% C 0.219 H 299.6°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#742AC4
RGBrgb(116, 42, 196)
HSLhsl(269, 65%, 47%)
HSVhsv(269, 79%, 77%)
CMYKcmyk(40.8%, 78.6%, 0%, 23.1%)
CIE-LABlab(36.66, 60.12, -66.61)
CIE-LCHlch(36.66, 89.72, 312.07°)
OKLaboklab(48.14% 0.1083 -0.1905)
OKLCHoklch(48.14% 0.219 299.6)
XYZxyz(17.9917, 9.3542, 53.0715)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742AC4 #7AC42A
analogous
#2A2DC4 #742AC4 #C12AC4
triadic
#742AC4 #C4742A #2AC474
tetradic
#742AC4 #C42A2D #7AC42A #2AC4C1
square
#742AC4 #C42A2D #7AC42A #2AC4C1
split-complementary
#742AC4 #C4C12A #2DC42A
monochromatic
#38145F #561F92 #742AC4 #9351DA #B284E5

Accessibility & contrast

On white

7.32
#742AC4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#742AC4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742AC4
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742AC4#FFFFFF#000000##FFFFFF
##742AC41.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C8
Deuteranopia (green-blind)
#0055C1
Tritanopia (blue-blind)
#615477
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #742ac4;
/* rgb */ color: rgb(116, 42, 196);
/* oklch */ color: oklch(48.1% 0.219 299.6);
Tailwind
colors: {
  custom: {
    50: '#a36dd7',
    500: '#742ac4',
    950: '#000000',
  },
}
SCSS
$custom: #742ac4;
$custom-light: #a36dd7;
$custom-dark: #000000;
JSON
{
  "hex": "#742ac4",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 196
  },
  "hsl": {
    "h": 268.831,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.48137,
    "c": 0.21914,
    "h": 299.6
  },
  "luminance": 0.09354
}

Semantic roles & 50–950 ramp

primary
#742AC4
secondary
#A6CE7C
accent
#E84097
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100715
muted
#7F7A83

Preview Lab

Preview with #742AC4

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

Preview Lab → · Contrast checker → · Palette generator →

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