#742EAE#742EAE

#742EAE is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.7% C 0.193 H 304.9°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#742EAE
RGBrgb(116, 46, 174)
HSLhsl(273, 58%, 43%)
HSVhsv(273, 74%, 68%)
CMYKcmyk(33.3%, 73.6%, 0%, 31.8%)
CIE-LABlab(35.45, 53.28, -55.59)
CIE-LCHlch(35.45, 77.00, 313.78°)
OKLaboklab(46.73% 0.1101 -0.1582)
OKLCHoklch(46.73% 0.193 304.9)
XYZxyz(15.8177, 8.7231, 40.8866)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EAE #68AE2E
analogous
#342EAE #742EAE #AE2EA8
triadic
#742EAE #AE742E #2EAE74
tetradic
#742EAE #AE342E #68AE2E #2EA8AE
square
#742EAE #AE342E #68AE2E #2EA8AE
split-complementary
#742EAE #A8AE2E #2EAE34
monochromatic
#33144D #54217E #742EAE #934ACF #B07ADC

Accessibility & contrast

On white

7.65
#742EAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#742EAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EAE
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EAE#FFFFFF#000000##FFFFFF
##742EAE1.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0053AB
Tritanopia (blue-blind)
#694D6B
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #742eae;
/* rgb */ color: rgb(116, 46, 174);
/* oklch */ color: oklch(46.7% 0.193 304.9);
Tailwind
colors: {
  custom: {
    50: '#a16dc7',
    500: '#742eae',
    950: '#000000',
  },
}
SCSS
$custom: #742eae;
$custom-light: #a16dc7;
$custom-dark: #000000;
JSON
{
  "hex": "#742eae",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 272.813,
    "s": 58.182,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46732,
    "c": 0.19273,
    "h": 304.9
  },
  "luminance": 0.08723
}

Semantic roles & 50–950 ramp

primary
#742EAE
secondary
#98C474
accent
#E1468D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #742EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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