#742AB5#742AB5

#742AB5 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.204 H 303.4°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#742AB5
RGBrgb(116, 42, 181)
HSLhsl(272, 62%, 44%)
HSVhsv(272, 77%, 71%)
CMYKcmyk(35.9%, 76.8%, 0%, 29%)
CIE-LABlab(35.41, 56.59, -59.81)
CIE-LCHlch(35.41, 82.34, 313.41°)
OKLaboklab(46.88% 0.1123 -0.1705)
OKLCHoklch(46.88% 0.204 303.4)
XYZxyz(16.3690, 8.7051, 44.5250)
Luminance0.0871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742AB5 #6BB52A
analogous
#2E2AB5 #742AB5 #B52AB0
triadic
#742AB5 #B5742A #2AB574
tetradic
#742AB5 #B52E2A #6BB52A #2AB0B5
square
#742AB5 #B52E2A #6BB52A #2AB0B5
split-complementary
#742AB5 #B0B52A #2AB52E
monochromatic
#341352 #541E83 #742AB5 #9348D4 #B079E0

Accessibility & contrast

On white

7.66
#742AB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#742AB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742AB5
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742AB5#FFFFFF#000000##FFFFFF
##742AB51.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0053B2
Tritanopia (blue-blind)
#674E6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #742ab5;
/* rgb */ color: rgb(116, 42, 181);
/* oklch */ color: oklch(46.9% 0.204 303.4);
Tailwind
colors: {
  custom: {
    50: '#a26ccc',
    500: '#742ab5',
    950: '#000000',
  },
}
SCSS
$custom: #742ab5;
$custom-light: #a26ccc;
$custom-dark: #000000;
JSON
{
  "hex": "#742ab5",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 271.942,
    "s": 62.332,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4688,
    "c": 0.20418,
    "h": 303.4
  },
  "luminance": 0.08705
}

Semantic roles & 50–950 ramp

primary
#742AB5
secondary
#9BC873
accent
#E5428F
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100713
muted
#7F7A82

Preview Lab

Preview with #742AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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