#742EA6#742EA6

#742EA6 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.1% C 0.184 H 307.2°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#742EA6
RGBrgb(116, 46, 166)
HSLhsl(275, 57%, 42%)
HSVhsv(275, 72%, 65%)
CMYKcmyk(30.1%, 72.3%, 0%, 34.9%)
CIE-LABlab(34.84, 51.41, -51.78)
CIE-LCHlch(34.84, 72.97, 314.80°)
OKLaboklab(46.12% 0.1115 -0.147)
OKLCHoklch(46.12% 0.185 307.2)
XYZxyz(15.0609, 8.4204, 36.9009)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EA6 #60A62E
analogous
#382EA6 #742EA6 #A62E9C
triadic
#742EA6 #A6742E #2EA674
tetradic
#742EA6 #A6382E #60A62E #2E9CA6
square
#742EA6 #A6382E #60A62E #2E9CA6
split-complementary
#742EA6 #9CA62E #2EA638
monochromatic
#311346 #532176 #742EA6 #9446CC #AF76D9

Accessibility & contrast

On white

7.82
#742EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#742EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EA6
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EA6#FFFFFF#000000##FFFFFF
##742EA61.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A9
Deuteranopia (green-blind)
#0252A3
Tritanopia (blue-blind)
#6C4A67
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #742ea6;
/* rgb */ color: rgb(116, 46, 166);
/* oklch */ color: oklch(46.1% 0.184 307.2);
Tailwind
colors: {
  custom: {
    50: '#a16dc1',
    500: '#742ea6',
    950: '#000000',
  },
}
SCSS
$custom: #742ea6;
$custom-light: #a16dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#742ea6",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 275,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.46116,
    "c": 0.1845,
    "h": 307.2
  },
  "luminance": 0.0842
}

Semantic roles & 50–950 ramp

primary
#742EA6
secondary
#91C16F
accent
#E04887
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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