#742AB2#742AB2

#742AB2 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.201 H 304.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#742AB2
RGBrgb(116, 42, 178)
HSLhsl(273, 62%, 43%)
HSVhsv(273, 76%, 70%)
CMYKcmyk(34.8%, 76.4%, 0%, 30.2%)
CIE-LABlab(35.17, 55.89, -58.42)
CIE-LCHlch(35.17, 80.85, 313.73°)
OKLaboklab(46.64% 0.113 -0.1665)
OKLCHoklch(46.64% 0.201 304.2)
XYZxyz(16.0645, 8.5833, 42.9213)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742AB2 #68B22A
analogous
#302AB2 #742AB2 #B22AAC
triadic
#742AB2 #B2742A #2AB274
tetradic
#742AB2 #B2302A #68B22A #2AACB2
square
#742AB2 #B2302A #68B22A #2AACB2
split-complementary
#742AB2 #ACB22A #2AB230
monochromatic
#33134F #541E80 #742AB2 #9346D3 #B077DF

Accessibility & contrast

On white

7.73
#742AB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #742AB2
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742AB2#FFFFFF#000000##FFFFFF
##742AB21.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#684D6D
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #742ab2;
/* rgb */ color: rgb(116, 42, 178);
/* oklch */ color: oklch(46.6% 0.201 304.2);
Tailwind
colors: {
  custom: {
    50: '#a26cca',
    500: '#742ab2',
    950: '#000000',
  },
}
SCSS
$custom: #742ab2;
$custom-light: #a26cca;
$custom-dark: #000000;
JSON
{
  "hex": "#742ab2",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 272.647,
    "s": 61.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.46636,
    "c": 0.20118,
    "h": 304.2
  },
  "luminance": 0.08583
}

Semantic roles & 50–950 ramp

primary
#742AB2
secondary
#98C771
accent
#E5438D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #742AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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