#742EAA#742EAA

#742EAA is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.4% C 0.189 H 306.0°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#742EAA
RGBrgb(116, 46, 170)
HSLhsl(274, 57%, 42%)
HSVhsv(274, 73%, 67%)
CMYKcmyk(31.8%, 72.9%, 0%, 33.3%)
CIE-LABlab(35.14, 52.34, -53.69)
CIE-LCHlch(35.14, 74.99, 314.27°)
OKLaboklab(46.42% 0.1109 -0.1526)
OKLCHoklch(46.42% 0.189 306)
XYZxyz(15.4336, 8.5694, 38.8634)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EAA #64AA2E
analogous
#362EAA #742EAA #AA2EA2
triadic
#742EAA #AA742E #2EAA74
tetradic
#742EAA #AA362E #64AA2E #2EA2AA
square
#742EAA #AA362E #64AA2E #2EA2AA
split-complementary
#742EAA #A2AA2E #2EAA36
monochromatic
#32144A #53217A #742EAA #9348CD #B078DA

Accessibility & contrast

On white

7.74
#742EAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#742EAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EAA
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EAA#FFFFFF#000000##FFFFFF
##742EAA1.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AE
Deuteranopia (green-blind)
#0053A7
Tritanopia (blue-blind)
#6A4B69
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #742eaa;
/* rgb */ color: rgb(116, 46, 170);
/* oklch */ color: oklch(46.4% 0.189 306.0);
Tailwind
colors: {
  custom: {
    50: '#a16dc4',
    500: '#742eaa',
    950: '#000000',
  },
}
SCSS
$custom: #742eaa;
$custom-light: #a16dc4;
$custom-dark: #000000;
JSON
{
  "hex": "#742eaa",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 170
  },
  "hsl": {
    "h": 273.871,
    "s": 57.407,
    "l": 42.353
  },
  "oklch": {
    "l": 0.46422,
    "c": 0.18861,
    "h": 306
  },
  "luminance": 0.08569
}

Semantic roles & 50–950 ramp

primary
#742EAA
secondary
#95C371
accent
#E1478A
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #742EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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