#742AA2#742AA2

#742AA2 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.185 H 308.9°. Best body text is #FFFFFF at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#742AA2
RGBrgb(116, 42, 162)
HSLhsl(277, 59%, 40%)
HSVhsv(277, 74%, 64%)
CMYKcmyk(28.4%, 74.1%, 0%, 36.5%)
CIE-LABlab(33.94, 52.23, -50.84)
CIE-LCHlch(33.94, 72.89, 315.77°)
OKLaboklab(45.38% 0.1162 -0.1442)
OKLCHoklch(45.38% 0.185 308.9)
XYZxyz(14.5507, 7.9778, 34.9488)
Luminance0.0798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742AA2 #58A22A
analogous
#382AA2 #742AA2 #A22A94
triadic
#742AA2 #A2742A #2AA274
tetradic
#742AA2 #A2382A #58A22A #2A94A2
square
#742AA2 #A2382A #58A22A #2A94A2
split-complementary
#742AA2 #94A22A #2AA238
monochromatic
#2E1141 #511D71 #742AA2 #953DCD #B06DD9

Accessibility & contrast

On white

8.09
#742AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#742AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742AA2
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742AA2#FFFFFF#000000##FFFFFF
##742AA21.008.092.608.09
#FFFFFF8.091.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#06519F
Tritanopia (blue-blind)
#6D4664
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #742aa2;
/* rgb */ color: rgb(116, 42, 162);
/* oklch */ color: oklch(45.4% 0.185 308.9);
Tailwind
colors: {
  custom: {
    50: '#a06bbe',
    500: '#742aa2',
    950: '#000000',
  },
}
SCSS
$custom: #742aa2;
$custom-light: #a06bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#742aa2",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 277,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.4538,
    "c": 0.18519,
    "h": 308.9
  },
  "luminance": 0.07978
}

Semantic roles & 50–950 ramp

primary
#742AA2
secondary
#8AC068
accent
#E24682
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #742AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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