#742EAB#742EAB

#742EAB is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.190 H 305.7°. Best body text is #FFFFFF at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#742EAB
RGBrgb(116, 46, 171)
HSLhsl(274, 58%, 43%)
HSVhsv(274, 73%, 67%)
CMYKcmyk(32.2%, 73.1%, 0%, 32.9%)
CIE-LABlab(35.22, 52.57, -54.17)
CIE-LCHlch(35.22, 75.49, 314.14°)
OKLaboklab(46.5% 0.1107 -0.154)
OKLCHoklch(46.5% 0.19 305.7)
XYZxyz(15.5285, 8.6074, 39.3635)
Luminance0.0861 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EAB #65AB2E
analogous
#352EAB #742EAB #AB2EA4
triadic
#742EAB #AB742E #2EAB74
tetradic
#742EAB #AB352E #65AB2E #2EA4AB
square
#742EAB #AB352E #65AB2E #2EA4AB
split-complementary
#742EAB #A4AB2E #2EAB35
monochromatic
#33144B #53217B #742EAB #9348CE #B079DB

Accessibility & contrast

On white

7.72
#742EAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#742EAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EAB
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EAB#FFFFFF#000000##FFFFFF
##742EAB1.007.722.727.72
#FFFFFF7.721.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051AF
Deuteranopia (green-blind)
#0053A8
Tritanopia (blue-blind)
#6A4C6A
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #742eab;
/* rgb */ color: rgb(116, 46, 171);
/* oklch */ color: oklch(46.5% 0.190 305.7);
Tailwind
colors: {
  custom: {
    50: '#a16dc5',
    500: '#742eab',
    950: '#000000',
  },
}
SCSS
$custom: #742eab;
$custom-light: #a16dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#742eab",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 171
  },
  "hsl": {
    "h": 273.6,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.46499,
    "c": 0.18964,
    "h": 305.7
  },
  "luminance": 0.08607
}

Semantic roles & 50–950 ramp

primary
#742EAB
secondary
#96C372
accent
#E1478B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #742EAB

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

Preview Lab → · Contrast checker → · Palette generator →

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