#742ABA#742ABA

#742ABA is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.209 H 302.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#742ABA
RGBrgb(116, 42, 186)
HSLhsl(271, 63%, 45%)
HSVhsv(271, 77%, 73%)
CMYKcmyk(37.6%, 77.4%, 0%, 27.1%)
CIE-LABlab(35.82, 57.76, -62.10)
CIE-LCHlch(35.82, 84.81, 312.92°)
OKLaboklab(47.29% 0.111 -0.1773)
OKLCHoklch(47.29% 0.209 302.1)
XYZxyz(16.8912, 8.9140, 47.2755)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#742ABA #70BA2A
analogous
#2C2ABA #742ABA #BA2AB8
triadic
#742ABA #BA742A #2ABA74
tetradic
#742ABA #BA2C2A #70BA2A #2AB8BA
square
#742ABA #BA2C2A #70BA2A #2AB8BA
split-complementary
#742ABA #B8BA2A #2ABA2C
monochromatic
#361356 #551F88 #742ABA #934BD6 #B17DE2

Accessibility & contrast

On white

7.55
#742ABA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#742ABA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #742ABA
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##742ABA#FFFFFF#000000##FFFFFF
##742ABA1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#655071
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #742aba;
/* rgb */ color: rgb(116, 42, 186);
/* oklch */ color: oklch(47.3% 0.209 302.1);
Tailwind
colors: {
  custom: {
    50: '#a26cd0',
    500: '#742aba',
    950: '#000000',
  },
}
SCSS
$custom: #742aba;
$custom-light: #a26cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#742aba",
  "rgb": {
    "r": 116,
    "g": 42,
    "b": 186
  },
  "hsl": {
    "h": 270.833,
    "s": 63.158,
    "l": 44.706
  },
  "oklch": {
    "l": 0.47292,
    "c": 0.20917,
    "h": 302.1
  },
  "luminance": 0.08914
}

Semantic roles & 50–950 ramp

primary
#742ABA
secondary
#9FCA76
accent
#E64292
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #742ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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