#742EAC#742EAC

#742EAC is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.6% C 0.191 H 305.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#742EAC
RGBrgb(116, 46, 172)
HSLhsl(273, 58%, 43%)
HSVhsv(273, 73%, 67%)
CMYKcmyk(32.6%, 73.3%, 0%, 32.5%)
CIE-LABlab(35.29, 52.81, -54.65)
CIE-LCHlch(35.29, 75.99, 314.02°)
OKLaboklab(46.58% 0.1105 -0.1554)
OKLCHoklch(46.58% 0.191 305.4)
XYZxyz(15.6242, 8.6457, 39.8674)
Luminance0.0865 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742EAC #66AC2E
analogous
#352EAC #742EAC #AC2EA5
triadic
#742EAC #AC742E #2EAC74
tetradic
#742EAC #AC352E #66AC2E #2EA5AC
square
#742EAC #AC352E #66AC2E #2EA5AC
split-complementary
#742EAC #A5AC2E #2EAC35
monochromatic
#33144B #53217C #742EAC #9349CE #B079DB

Accessibility & contrast

On white

7.69
#742EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#742EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742EAC
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742EAC#FFFFFF#000000##FFFFFF
##742EAC1.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #742eac;
/* rgb */ color: rgb(116, 46, 172);
/* oklch */ color: oklch(46.6% 0.191 305.4);
Tailwind
colors: {
  custom: {
    50: '#a16dc6',
    500: '#742eac',
    950: '#000000',
  },
}
SCSS
$custom: #742eac;
$custom-light: #a16dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#742eac",
  "rgb": {
    "r": 116,
    "g": 46,
    "b": 172
  },
  "hsl": {
    "h": 273.333,
    "s": 57.798,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46576,
    "c": 0.19067,
    "h": 305.4
  },
  "luminance": 0.08646
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #742EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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