#742AB7#742AB7

#742AB7 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.206 H 302.8°. Best body text is #FFFFFF at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#742AB7
RGBrgb(116, 42, 183)
HSLhsl(271, 63%, 44%)
HSVhsv(271, 77%, 72%)
CMYKcmyk(36.6%, 77%, 0%, 28.2%)
CIE-LABlab(35.57, 57.05, -60.73)
CIE-LCHlch(35.57, 83.33, 313.21°)
OKLaboklab(47.04% 0.1118 -0.1732)
OKLCHoklch(47.04% 0.206 302.8)
XYZxyz(16.5756, 8.7878, 45.6135)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742AB7 #6DB72A
analogous
#2D2AB7 #742AB7 #B72AB4
triadic
#742AB7 #B7742A #2AB774
tetradic
#742AB7 #B72D2A #6DB72A #2AB4B7
square
#742AB7 #B72D2A #6DB72A #2AB4B7
split-complementary
#742AB7 #B4B72A #2AB72D
monochromatic
#351353 #541F85 #742AB7 #9349D5 #B07BE1

Accessibility & contrast

On white

7.62
#742AB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#742AB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742AB7
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742AB7#FFFFFF#000000##FFFFFF
##742AB71.007.622.767.62
#FFFFFF7.621.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0053B4
Tritanopia (blue-blind)
#664F70
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742ab7;
/* rgb */ color: rgb(116, 42, 183);
/* oklch */ color: oklch(47.0% 0.206 302.8);
Tailwind
colors: {
  custom: {
    50: '#a26cce',
    500: '#742ab7',
    950: '#000000',
  },
}
SCSS
$custom: #742ab7;
$custom-light: #a26cce;
$custom-dark: #000000;
JSON
{
  "hex": "#742ab7",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 271.489,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.20617,
    "h": 302.8
  },
  "luminance": 0.08788
}

Semantic roles & 50–950 ramp

primary
#742AB7
secondary
#9CC974
accent
#E64290
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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